diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-07 11:52:15 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-07 11:52:15 +0200 |
commit | 19d9e3033661b49cd4e4771166c45db2f1f24805 (patch) | |
tree | 538b936aa8e263d8dabc4e814b1b2b312f51ae65 /sysdep/unix | |
parent | fb257e43fc23f9e0455444ef67c4be0dae22a713 (diff) | |
download | bird-19d9e3033661b49cd4e4771166c45db2f1f24805.tar bird-19d9e3033661b49cd4e4771166c45db2f1f24805.zip |
Marked unused parameters as unused.
Diffstat (limited to 'sysdep/unix')
-rw-r--r-- | sysdep/unix/krt.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdep/unix/krt.c b/sysdep/unix/krt.c index af87fc0..989930f 100644 --- a/sysdep/unix/krt.c +++ b/sysdep/unix/krt.c @@ -495,8 +495,10 @@ krt_got_route(struct krt_proto *p, rte *e) { rte *old; net *net = e->net; - int src = e->u.krt.src; int verdict; +#ifdef KRT_ALLOW_LEARN + int src = e->u.krt.src; +#endif #ifdef CONFIG_AUTO_ROUTES if (e->attrs->dest == RTD_DEVICE) @@ -616,7 +618,11 @@ krt_prune(struct krt_proto *p) } void -krt_got_route_async(struct krt_proto *p, rte *e, int new) +krt_got_route_async(struct krt_proto *p, rte *e, int new +#ifndef KRT_ALLOW_LEARN +UNUSED +#endif +) { net *net = e->net; int src = e->u.krt.src; |