summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 11:10:56 +0200
committerMartin Mares <mj@ucw.cz>2004-06-05 11:10:56 +0200
commit7c103b1ee17a274fa062fcf4b14234b48db8123a (patch)
tree4a8f02cf3f5496f6c8df684553246fa4df390592
parente98bc2ea9b957287e78bc51e3293fc48a49c26b2 (diff)
downloadbird-7c103b1ee17a274fa062fcf4b14234b48db8123a.tar
bird-7c103b1ee17a274fa062fcf4b14234b48db8123a.zip
Marked unused parameters in core code as such.
-rw-r--r--conf/conf.c2
-rw-r--r--nest/locks.c2
-rw-r--r--nest/password.c2
-rw-r--r--nest/proto.c2
-rw-r--r--nest/rt-fib.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/conf/conf.c b/conf/conf.c
index be2d771..a744dca 100644
--- a/conf/conf.c
+++ b/conf/conf.c
@@ -210,7 +210,7 @@ config_do_commit(struct config *c)
}
static void
-config_done(void *unused)
+config_done(void *unused UNUSED)
{
struct config *c;
diff --git a/nest/locks.c b/nest/locks.c
index 11489b7..1cdbbc9 100644
--- a/nest/locks.c
+++ b/nest/locks.c
@@ -153,7 +153,7 @@ olock_acquire(struct object_lock *l)
}
static void
-olock_run_event(void *unused)
+olock_run_event(void *unused UNUSED)
{
node *n;
struct object_lock *q;
diff --git a/nest/password.c b/nest/password.c
index 9a77e89..594569c 100644
--- a/nest/password.c
+++ b/nest/password.c
@@ -25,7 +25,7 @@ password_goodness(struct password_item *i)
}
struct password_item *
-get_best_password(struct password_item *head, int flags)
+get_best_password(struct password_item *head, int flags UNUSED)
{
int good = -1;
struct password_item *best = NULL;
diff --git a/nest/proto.c b/nest/proto.c
index 54fb3bf..fb24e57 100644
--- a/nest/proto.c
+++ b/nest/proto.c
@@ -619,7 +619,7 @@ proto_notify_state(struct proto *p, unsigned ps)
}
static void
-proto_flush_all(void *unused)
+proto_flush_all(void *unused UNUSED)
{
struct proto *p;
diff --git a/nest/rt-fib.c b/nest/rt-fib.c
index 34d862e..8d76f26 100644
--- a/nest/rt-fib.c
+++ b/nest/rt-fib.c
@@ -79,7 +79,7 @@ fib_hash(struct fib *f, ip_addr *a)
}
static void
-fib_dummy_init(struct fib_node *dummy)
+fib_dummy_init(struct fib_node *dummy UNUSED)
{
}