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.
diff --git a/lib/distribute.c b/lib/distribute.c
index 59dbc5a..78de4bf 100644
--- a/lib/distribute.c
+++ b/lib/distribute.c
@@ -119,8 +119,7 @@
unsigned int
distribute_hash_make (struct distribute *dist)
{
- unsigned int key;
- int i;
+ unsigned int i, key;
key = 0;
if (dist->ifname)
@@ -625,7 +624,7 @@
int
config_show_distribute (struct vty *vty)
{
- int i;
+ unsigned int i;
struct hash_backet *mp;
struct distribute *dist;
@@ -704,7 +703,7 @@
int
config_write_distribute (struct vty *vty)
{
- int i;
+ unsigned int i;
struct hash_backet *mp;
int write = 0;