]> pilppa.com Git - uci.git/commitdiff
make uci_errstr const
authorFelix Fietkau <nbd@openwrt.org>
Sat, 19 Jan 2008 17:14:12 +0000 (18:14 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 19 Jan 2008 17:14:12 +0000 (18:14 +0100)
libuci.c

index ccf29b7ca708f5d143bff88ca457acae90ed518a..7f4f1589126abf8096e14f24f2b92fe206849c00 100644 (file)
--- a/libuci.c
+++ b/libuci.c
@@ -70,7 +70,7 @@
 } while (0)
 
 
-static char *uci_errstr[] = {
+static const char *uci_errstr[] = {
        [UCI_OK] =           "Success",
        [UCI_ERR_MEM] =      "Out of memory",
        [UCI_ERR_INVAL] =    "Invalid argument",