From cc84250572b1c506a5fb7be2dd783de916fddc42 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 19 Jan 2008 18:14:12 +0100 Subject: [PATCH] make uci_errstr const --- libuci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.41.1