summaryrefslogtreecommitdiff
path: root/lib/log.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/log.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/log.c')
-rw-r--r--lib/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/log.c b/lib/log.c
index 2090b91e..bbe6e996 100644
--- a/lib/log.c
+++ b/lib/log.c
@@ -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)