summaryrefslogtreecommitdiffstats
path: root/sysdep/unix
diff options
context:
space:
mode:
Diffstat (limited to 'sysdep/unix')
-rw-r--r--sysdep/unix/krt-set.h2
-rw-r--r--sysdep/unix/krt.c8
-rw-r--r--sysdep/unix/main.c12
3 files changed, 11 insertions, 11 deletions
diff --git a/sysdep/unix/krt-set.h b/sysdep/unix/krt-set.h
index 1c5e15e..5d0b213 100644
--- a/sysdep/unix/krt-set.h
+++ b/sysdep/unix/krt-set.h
@@ -15,6 +15,6 @@ struct krt_set_params {
struct krt_set_status {
};
-static inline int krt_set_params_same(struct krt_set_params *o, struct krt_set_params *n) { return 1; }
+static inline int krt_set_params_same(struct krt_set_params *o UNUSED, struct krt_set_params *n UNUSED) { return 1; }
#endif
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index ff688b9..af87fc0 100644
--- a/sysdep/unix/krt.c
+++ b/sysdep/unix/krt.c
@@ -79,7 +79,7 @@ static timer *kif_scan_timer;
static bird_clock_t kif_last_shot;
static void
-kif_preconfig(struct protocol *P, struct config *c)
+kif_preconfig(struct protocol *P UNUSED, struct config *c UNUSED)
{
cf_kif = NULL;
}
@@ -646,7 +646,7 @@ krt_got_route_async(struct krt_proto *p, rte *e, int new)
*/
static void
-krt_scan(timer *t)
+krt_scan(timer *t UNUSED)
{
struct krt_proto *p;
@@ -678,7 +678,7 @@ krt_scan(timer *t)
*/
static void
-krt_notify(struct proto *P, net *net, rte *new, rte *old, struct ea_list *attrs)
+krt_notify(struct proto *P, net *net, rte *new, rte *old, struct ea_list *attrs UNUSED)
{
struct krt_proto *p = (struct krt_proto *) P;
@@ -703,7 +703,7 @@ krt_notify(struct proto *P, net *net, rte *new, rte *old, struct ea_list *attrs)
struct proto_config *cf_krt;
static void
-krt_preconfig(struct protocol *P, struct config *c)
+krt_preconfig(struct protocol *P UNUSED, struct config *c)
{
cf_krt = NULL;
krt_scan_preconfig(c);
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index be3cf82..ec8802b 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -81,7 +81,7 @@ sysdep_preconfig(struct config *c)
}
int
-sysdep_commit(struct config *new, struct config *old)
+sysdep_commit(struct config *new, struct config *old UNUSED)
{
log_switch(debug_flag, &new->logfiles);
return 0;
@@ -223,7 +223,7 @@ cli_get_command(cli *c)
}
static int
-cli_rx(sock *s, int size)
+cli_rx(sock *s, int size UNUSED)
{
cli_kick(s->data);
return 0;
@@ -252,7 +252,7 @@ cli_err(sock *s, int err)
}
static int
-cli_connect(sock *s, int size)
+cli_connect(sock *s, int size UNUSED)
{
cli *c;
@@ -306,21 +306,21 @@ sysdep_shutdown_done(void)
*/
static void
-handle_sighup(int sig)
+handle_sighup(int sig UNUSED)
{
DBG("Caught SIGHUP...\n");
async_config_flag = 1;
}
static void
-handle_sigusr(int sig)
+handle_sigusr(int sig UNUSED)
{
DBG("Caught SIGUSR...\n");
async_dump_flag = 1;
}
static void
-handle_sigterm(int sig)
+handle_sigterm(int sig UNUSED)
{
DBG("Caught SIGTERM...\n");
async_shutdown_flag = 1;