more const for the signature type table
authorFelix Fietkau <nbd@openwrt.org>
Sun, 6 Feb 2011 23:10:57 +0000 (00:10 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 6 Feb 2011 23:10:57 +0000 (00:10 +0100)
cli.c

diff --git a/cli.c b/cli.c
index 0690e2a..2d30fc5 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -5,7 +5,7 @@
 
 static struct blob_buf b;
 
 
 static struct blob_buf b;
 
-static const char *attr_types[] = {
+static const char * const attr_types[] = {
        [BLOBMSG_TYPE_INT32] = "\"Integer\"",
        [BLOBMSG_TYPE_STRING] = "\"String\"",
 };
        [BLOBMSG_TYPE_INT32] = "\"Integer\"",
        [BLOBMSG_TYPE_STRING] = "\"String\"",
 };