libs/web: remove strange 'static' on variable declaration
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
parent
f8f558291a
commit
84de0fbe02
1 changed files with 1 additions and 1 deletions
|
@ -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 template_parser * template_open(const char *file)
|
||||||
{
|
{
|
||||||
struct stat s;
|
struct stat s;
|
||||||
static struct template_parser *parser;
|
struct template_parser *parser;
|
||||||
|
|
||||||
if (!(parser = malloc(sizeof(*parser))))
|
if (!(parser = malloc(sizeof(*parser))))
|
||||||
goto err;
|
goto err;
|
||||||
|
|
Loading…
Reference in a new issue