diff options
author | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-10-05 21:01:23 +0000 |
commit | ff2e9e3c3816b7b828bbb023639db52364d729ff (patch) | |
tree | 7c586b5a363b80f0ecb4ab63137f89747ea72dd5 /lib/log.c | |
parent | 19290b43288f6636b6eca07156a4069324962751 (diff) | |
download | quagga-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/log.c')
-rw-r--r-- | lib/log.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -474,7 +474,7 @@ zlog_free_cwd () } /* Message lookup function. */ -char * +const char * lookup (struct message *mes, int key) { struct message *pnt; @@ -488,7 +488,7 @@ lookup (struct message *mes, int key) /* Very old hacky version of message lookup function. Still partly used in bgpd and ospfd. FIXME Seems that it's not used any more. */ -char * +const char * mes_lookup (struct message *meslist, int max, int index) { if (index < 0 || index >= max) |