summaryrefslogtreecommitdiffhomepage
path: root/modules/base
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-09-04 11:35:04 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-09-04 11:35:04 +0000
commit84de0fbe029d51d0a878506cf82713713b520f65 (patch)
tree9150edb89c63b6a9d0e813253cf6ae436676dcdb /modules/base
parentf8f558291aec3c9c197699fb28587626f8b53d96 (diff)
libs/web: remove strange 'static' on variable declaration
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'modules/base')
-rw-r--r--modules/base/src/template_parser.c2
1 files changed, 1 insertions, 1 deletions
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;