summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-14 17:59:25 +0100
committerPaul Jakma <paul@quagga.net>2008-08-22 19:52:58 +0100
commit1423c809cc4ddc2e013ba6264c49a11e5719c6f2 (patch)
treedb0389e7de020bbcb9fd78d45417b0842a6adb0b /lib/log.h
parent89d9fa301e146193093ff876f96b3612dc390bbb (diff)
[lib] mes_lookup string lookup table argument should be marked const
2008-08-14 Stephen Hemminger <stephen.hemminger@vyatta.com> * lib/log.{c,h}: struct message argument should point to const * */*.c: adjust to suit, Signed-off-by: Paul Jakma <paul@quagga.net>
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/log.h b/lib/log.h
index 7432b25e..777fd77d 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -144,7 +144,7 @@ extern int zlog_rotate (struct zlog *);
/* For hackey massage lookup and check */
#define LOOKUP(x, y) mes_lookup(x, x ## _max, y, "(no item found)")
-extern const char *lookup (struct message *, int);
+extern const char *lookup (const struct message *, int);
extern const char *mes_lookup (struct message *meslist,
int max, int index,
const char *no_item);