]> pilppa.com Git - uci.git/commitdiff
constify
authorFelix Fietkau <nbd@openwrt.org>
Sat, 2 Feb 2008 21:55:01 +0000 (22:55 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 2 Feb 2008 21:55:01 +0000 (22:55 +0100)
util.c

diff --git a/util.c b/util.c
index 28cc5df2250c4b7b7d51350b45f6e98b293e52c7..c0f4451debf0946374314c87e50507bcf30eb107 100644 (file)
--- a/util.c
+++ b/util.c
@@ -51,7 +51,7 @@ static char *uci_strdup(struct uci_context *ctx, const char *str)
        return ptr;
 }
 
-static bool uci_validate_name(char *str)
+static bool uci_validate_name(const char *str)
 {
        if (!*str)
                return false;