diff options
Diffstat (limited to 'src/babel.c')
-rw-r--r-- | src/babel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/babel.c b/src/babel.c index 7842428..4a2de19 100644 --- a/src/babel.c +++ b/src/babel.c @@ -35,13 +35,13 @@ const char *gmrf_protocol_name = "babel"; const char *gmrf_protocol_version = "experimental"; -static void send_hellos(gmrf_context_t *ctx, void *arg) { +static void send_hellos(gmrf_context_t *ctx, void *arg UNUSED) { gmrf_schedule(ctx->gmrf, send_hellos, NULL, GP_BABEL_HELLO_INTERVAL*10); gp_babel_send_hellos(ctx); } -static void send_updates(gmrf_context_t *ctx, void *arg) { +static void send_updates(gmrf_context_t *ctx, void *arg UNUSED) { gmrf_schedule(ctx->gmrf, send_updates, NULL, GP_BABEL_UPDATE_INTERVAL*10); gmrf_logf(ctx->gmrf, LOG_DEBUG, "sending periodic updates."); @@ -128,7 +128,7 @@ static void maintain_routes(gmrf_context_t *ctx) { } } -static void maintenance(gmrf_context_t *ctx, void *arg) { +static void maintenance(gmrf_context_t *ctx, void *arg UNUSED) { gmrf_schedule(ctx->gmrf, maintenance, NULL, GP_BABEL_MAINTENANCE_INTERVAL*10); maintain_neighbours(ctx); |