commit 943b025897dd39e4b64755e6bafa890d35ea8ae1
parent 7ed2fc116d5c27efb3f605980b525319b53cfd2d
Author: Quentin Rameau <quinq@fifth.space>
Date: Sat, 16 Jul 2016 16:23:41 +0200
make filtertypes array static
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/surf-adblock.c b/surf-adblock.c
@@ -79,7 +79,7 @@ static void parsedomainsoption(struct filterrule *, char *);
#define STRP(s) s,sizeof(s)-1
-struct filtertype filtertypes[] = {
+static struct filtertype filtertypes[] = {
/* NOTE: options with 'type' = 0 are silently ignored and treated as
* requests for now */
{ 0, STRP("collapse"), 1, 1, 0, NULL },