From 2893b270d50bf4fa036439695febd51fdc6fcb08 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 11 Aug 2020 20:40:44 +0200 Subject: badwolf: declare private global as static --- badwolf.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/badwolf.c b/badwolf.c index d3dcde9..9d4d3eb 100644 --- a/badwolf.c +++ b/badwolf.c @@ -16,10 +16,11 @@ #include /* malloc() */ #include /* 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, -- cgit v1.3.1-23-gd82d