]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Marked unused parameters in core code as such.
authorMartin Mares <mj@ucw.cz>
Sat, 5 Jun 2004 09:10:56 +0000 (09:10 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 5 Jun 2004 09:10:56 +0000 (09:10 +0000)
conf/conf.c
nest/locks.c
nest/password.c
nest/proto.c
nest/rt-fib.c

index be2d77131d4c370ebddaef4ba1a901b9150ee9be..a744dcaaac0480156a6ffbc3cb325c11cb61cb17 100644 (file)
@@ -210,7 +210,7 @@ config_do_commit(struct config *c)
 }
 
 static void
-config_done(void *unused)
+config_done(void *unused UNUSED)
 {
   struct config *c;
 
index 11489b77e00152c0b9ea374d283747914f0342f3..1cdbbc9928a00f82f87ad48595d5b2bea6754a12 100644 (file)
@@ -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;
index 9a77e89ba04e009cec20c9421fbaed6e6f5f4e41..594569ccc5fcbda29fae4c04939d7a248c0cd920 100644 (file)
@@ -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;
index 54fb3bf8027633387692a680ed4b27197d1a3d2e..fb24e5736a3f1e241d93e778b49ec91c6fd4e8e5 100644 (file)
@@ -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;
 
index 34d862e2fa376607903592f83e0d092eb7d7cb7d..8d76f26f513d205c80eb4e81eebd99e4526cc909 100644 (file)
@@ -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)
 {
 }