logo

badwolf

Minimalist and privacy-oriented WebKitGTK+ browser
commit: 2893b270d50bf4fa036439695febd51fdc6fcb08
parent: 46812bf39b6a4502f60aa3766b7d503d0534393c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 11 Aug 2020 20:40:44 +0200

badwolf: declare private global as static

Diffstat:

Mbadwolf.c9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/badwolf.c b/badwolf.c @@ -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,