summaryrefslogtreecommitdiff
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
commit8c328f1106cf0498333c2d8a96940e7b4581e316 (patch)
tree9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/if_rmap.c
parent98c91ac6ac085713c00af00a6ac41779be6b50b3 (diff)
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;