libs/web: remove strange 'static' on variable declaration
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 4 Sep 2014 11:35:04 +0000 (11:35 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 4 Sep 2014 11:35:04 +0000 (11:35 +0000)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
modules/base/src/template_parser.c

index fc8607b..1aa5131 100644 (file)
@@ -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;