]> git.scottworley.com Git - batteryviewer/blobdiff - batteryviewer.c
-Wall -Wextra -pedantic -Werror
[batteryviewer] / batteryviewer.c
index 4a1a8509076c4e0225b104c21a31b52a09886ac2..7be007c3ff54aad376199c1e38bd32fbb0dd04d8 100644 (file)
@@ -1,10 +1,12 @@
 #include <gtk/gtk.h>
 
-static void print_hello(GtkWidget *widget, gpointer data) {
+static void print_hello(GtkWidget *widget __attribute__((unused)),
+                        gpointer data __attribute__((unused))) {
   g_print("Hello World\n");
 }
 
-static void activate(GtkApplication *app, gpointer user_data) {
+static void activate(GtkApplication *app,
+                     gpointer user_data __attribute__((unused))) {
   GtkWidget *window;
   GtkWidget *button;