From: Jo-Philipp Wich Date: Thu, 4 Sep 2014 11:35:04 +0000 (+0000) Subject: libs/web: remove strange 'static' on variable declaration X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=84de0fbe029d51d0a878506cf82713713b520f65 libs/web: remove strange 'static' on variable declaration Signed-off-by: Matthias Schiffer --- diff --git a/modules/base/src/template_parser.c b/modules/base/src/template_parser.c index fc8607b3c..1aa5131ff 100644 --- a/modules/base/src/template_parser.c +++ b/modules/base/src/template_parser.c @@ -66,7 +66,7 @@ static char *strfind(char *haystack, int hslen, const char *needle, int ndlen) struct template_parser * template_open(const char *file) { struct stat s; - static struct template_parser *parser; + struct template_parser *parser; if (!(parser = malloc(sizeof(*parser)))) goto err;