X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fuci.git;a=blobdiff_plain;f=util.c;h=c0f4451debf0946374314c87e50507bcf30eb107;hp=28cc5df2250c4b7b7d51350b45f6e98b293e52c7;hb=f2520c27cd7942dc01d3386b4083b128648343c0;hpb=d3740c6347f1e487719a2139023dc942a3b6a8fa diff --git a/util.c b/util.c index 28cc5df..c0f4451 100644 --- 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;