From: Felix Fietkau Date: Sat, 2 Feb 2008 21:55:01 +0000 (+0100) Subject: constify X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuci.git;a=commitdiff_plain;h=a49b8b7e23945590fc35c7a8ef904169e856368b;ds=sidebyside constify --- 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;