Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit2893b270d50bf4fa036439695febd51fdc6fcb08 (patch)
Author
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-08-11 20:40:44 +0200
Committer
 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
2020-08-11 20:47:54 +0200
Files06d1f422c1de7d42eda458fbd14c13b69909163b
goodwolf-2893b270d50bf4fa036439695febd51fdc6fcb08.tar
goodwolf-2893b270d50bf4fa036439695febd51fdc6fcb08.tar.gz
goodwolf-2893b270d50bf4fa036439695febd51fdc6fcb08.zip
Parent46812bf39b6a4502f60aa3766b7d503d0534393c (diff)
badwolf: declare private global as static
1 files changed, 5 insertions, 4 deletions
-rw-r--r--badwolf.c9
diff --git a/badwolf.c b/badwolf.c
index d3dcde9..9d4d3eb 100644
--- 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,