diff options
badwolf: declare private global as static
1 files changed, 5 insertions, 4 deletions
| -rw-r--r-- | badwolf.c | 9 |
@@ -16,10 +16,11 @@ #include <stdlib.h> /* malloc() */ #include <unistd.h> /* access() */ -gchar *web_extensions_directory; -const gchar *homepage = "https://hacktivis.me/projects/badwolf"; -const gchar *version = VERSION; -int context_id_counter = 0; +const gchar *homepage = "https://hacktivis.me/projects/badwolf"; +const gchar *version = VERSION; + +static gchar *web_extensions_directory; +static int context_id_counter = 0; static gboolean WebViewCb_close(WebKitWebView *webView, gpointer user_data); static gboolean WebViewCb_web_process_terminated(WebKitWebView *webView, |