From: Felix Fietkau Date: Sat, 19 Jan 2008 17:14:12 +0000 (+0100) Subject: make uci_errstr const X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=cc84250572b1c506a5fb7be2dd783de916fddc42 make uci_errstr const --- diff --git a/libuci.c b/libuci.c index ccf29b7..7f4f158 100644 --- 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",