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 0690e2acb1bfccf05c533b8a5c468689160bbba7..2d30fc527712b8c99a96db737ae5724ee98dbc9f 100644 (file)
--- a/cli.c
+++ b/cli.c
@@ -5,7 +5,7 @@
 
 static struct blob_buf b;
 
-static const char *attr_types[] = {
+static const char * const attr_types[] = {
        [BLOBMSG_TYPE_INT32] = "\"Integer\"",
        [BLOBMSG_TYPE_STRING] = "\"String\"",
 };