Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 2 insertions, 1 deletions
-rw-r--r--badwolf.c3
diff --git a/badwolf.c b/badwolf.c
index 6d4dda0..479c95c 100644
--- a/badwolf.c
+++ b/badwolf.c
@@ -2,6 +2,7 @@
// Copyright © 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
// SPDX-License-Identifier: BSD-3-Clause
+#include <stdio.h> /* fprintf() */
#include <gtk/gtk.h>
#include <webkit2/webkit2.h>
@@ -13,7 +14,7 @@ struct Client
WebKitWebView *webView;
};
-static gboolean WebViewCb_close(WebKitWebView *_webView, GtkWidget *window)
+static gboolean WebViewCb_close(WebKitWebView *webView, GtkWidget *window)
{
gtk_widget_destroy(window);
return TRUE;