]> pilppa.org Git - uci.git/blobdiff - util.c
constify
[uci.git] / 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;