summaryrefslogtreecommitdiff
path: root/cli.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-02-07 00:10:57 +0100
committerFelix Fietkau <nbd@openwrt.org>2011-02-07 00:10:57 +0100
commit5e78a8012819ef92a8e60523ced9207d8a6b016f (patch)
treeec7fa21a8df67629613f33d2911b5f46f34008dd /cli.c
parenta93b044d6a5a4bed51d776cb0950e7d20fb17b84 (diff)
downloadubus-5e78a8012819ef92a8e60523ced9207d8a6b016f.tar.gz
more const for the signature type table
Diffstat (limited to 'cli.c')
-rw-r--r--cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index 0690e2a..2d30fc5 100644
--- 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\"",
};