diff options
author | hasso <hasso> | 2004-10-05 23:01:23 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-10-05 23:01:23 +0200 |
commit | 8c328f1106cf0498333c2d8a96940e7b4581e316 (patch) | |
tree | 9bf24cca6a68a9dd5d4dda586484e497d0c19ca6 /lib/if_rmap.c | |
parent | 2004-10-05 Paul Jakma <paul@dishone.st> (diff) | |
download | frr-8c328f1106cf0498333c2d8a96940e7b4581e316.tar.xz frr-8c328f1106cf0498333c2d8a96940e7b4581e316.zip |
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.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/if_rmap.c b/lib/if_rmap.c index 4cf8ad9a5..0f3fa9c70 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; |