mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-27 09:17:08 +03:00
client.c: Remove unused function set_timeout()
The function is not used because most of the timer handling has been moved to coap_run_once(). This change avoids clang to emit a warning due to -Wunused-function.
This commit is contained in:
1 parent
282fd96fc3
commit
8e446e732a
1 file changed
-6
@@ -81,12 +81,6 @@ int obs_ms_reset = 0;
|
||||
#define UNUSED_PARAM
|
||||
#endif /* GCC */
|
||||
|
||||
static inline void
|
||||
set_timeout(coap_tick_t *timer, const unsigned int seconds) {
|
||||
coap_ticks(timer);
|
||||
*timer += seconds * COAP_TICKS_PER_SECOND;
|
||||
}
|
||||
|
||||
static int
|
||||
append_to_output(const uint8_t *data, size_t len) {
|
||||
size_t written;
|
||||
|
||||
Reference in new issue
Block a user