File fix-prototype-mismatches.patch of Package hydra

diff --git a/hydra-gtk/src/callbacks.c b/hydra-gtk/src/callbacks.c
index 74c3d5e..0a3f33d 100644
--- a/hydra-gtk/src/callbacks.c
+++ b/hydra-gtk/src/callbacks.c
@@ -385,7 +385,7 @@ int hydra_get_options(char *options[]) {
   return i;
 }
 
-int update_statusbar() {
+int update_statusbar(gpointer user_data) {
   int i, j;
   char *options[128];
   guint context_id;
@@ -544,7 +544,7 @@ int *popen_re_unbuffered(char *command) {
 
   hydra_pid = 0;
 
-  update_statusbar();
+  update_statusbar(NULL);
 
   /* only allocate once */
   if (NULL == pfd)
diff --git a/hydra-gtk/src/callbacks.h b/hydra-gtk/src/callbacks.h
index 3b92c42..4900250 100644
--- a/hydra-gtk/src/callbacks.h
+++ b/hydra-gtk/src/callbacks.h
@@ -1,6 +1,6 @@
 #include <gtk/gtk.h>
 
-int update_statusbar();
+int update_statusbar(gpointer user_data);
 
 void on_quit1_activate(GtkMenuItem *menuitem, gpointer user_data);
 
openSUSE Build Service is sponsored by