summaryrefslogtreecommitdiffstats
path: root/lib/memory.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-08-14 18:59:25 +0200
committerPaul Jakma <paul@quagga.net>2008-08-22 20:52:58 +0200
commit1423c809cc4ddc2e013ba6264c49a11e5719c6f2 (patch)
treedb0389e7de020bbcb9fd78d45417b0842a6adb0b /lib/memory.c
parent[trivia] ignore automake generated 'compile' file (diff)
downloadfrr-1423c809cc4ddc2e013ba6264c49a11e5719c6f2.tar.xz
frr-1423c809cc4ddc2e013ba6264c49a11e5719c6f2.zip
[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/memory.c')
-rw-r--r--lib/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/memory.c b/lib/memory.c
index 9ed5e100a..28b3d8969 100644
--- a/lib/memory.c
+++ b/lib/memory.c
@@ -33,7 +33,7 @@ static void alloc_inc (int);
static void alloc_dec (int);
static void log_memstats(int log_priority);
-static struct message mstr [] =
+static const struct message mstr [] =
{
{ MTYPE_THREAD, "thread" },
{ MTYPE_THREAD_MASTER, "thread_master" },