summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 09:11:07 +0000
committerMartin Mares <mj@ucw.cz>2004-06-05 09:11:07 +0000
commit6578a60493f9dbf83d6485ac99635094bef2af7d (patch)
treeed05e6987ffd967173f0cd4815a09900931b3e3b /sysdep/unix/krt.c
parent7c103b1ee17a274fa062fcf4b14234b48db8123a (diff)
Marked unused parameters in sysdep code as such.
Diffstat (limited to 'sysdep/unix/krt.c')
-rw-r--r--sysdep/unix/krt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c
index ff688b90..af87fc02 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);