summaryrefslogtreecommitdiffstats
path: root/lib/if_rmap.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-05 21:01:23 +0000
committerhasso <hasso>2004-10-05 21:01:23 +0000
commitff2e9e3c3816b7b828bbb023639db52364d729ff (patch)
tree7c586b5a363b80f0ecb4ab63137f89747ea72dd5 /lib/if_rmap.c
parent19290b43288f6636b6eca07156a4069324962751 (diff)
downloadquagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.bz2
quagga-ff2e9e3c3816b7b828bbb023639db52364d729ff.tar.xz
Number of warnings is down to 3 again in lib directory. A lot of const's
added to strings and a lot of int -> unsigned int changes.
Diffstat (limited to 'lib/if_rmap.c')
-rw-r--r--lib/if_rmap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c
index 4cf8ad9a..0f3fa9c7 100644
--- a/lib/if_rmap.c
+++ b/lib/if_rmap.c
@@ -106,8 +106,7 @@ if_rmap_get (char *ifname)
unsigned int
if_rmap_hash_make (struct if_rmap *if_rmap)
{
- unsigned int key;
- int i;
+ unsigned int i, key;
key = 0;
for (i = 0; i < strlen (if_rmap->ifname); i++)
@@ -276,7 +275,7 @@ ALIAS (no_if_rmap,
int
config_write_if_rmap (struct vty *vty)
{
- int i;
+ unsigned int i;
struct hash_backet *mp;
int write = 0;