diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-18 16:56:06 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-03-18 16:56:06 +0100 |
commit | 0587bef25eb23f58aad1cd0b39d6bcb2dd074578 (patch) | |
tree | ef87590bd512577ffe30bcd3d9b4d06edd24b4d1 /src/babel.c | |
parent | 7efd6c82cb359b5220134f5e65828a671f4e8b1c (diff) | |
download | babel-0587bef25eb23f58aad1cd0b39d6bcb2dd074578.tar babel-0587bef25eb23f58aad1cd0b39d6bcb2dd074578.zip |
Compile options, -Wextra fixes
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); |