diff options
author | rbuj <[email protected]> | 2020-04-06 21:15:40 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 23:47:42 +0200 |
commit | fabb934ec6fc53ac19cc59ce68d224818d511803 (patch) | |
tree | d72a68df42a0e8e7e31f13bc0f5f6449c73185e2 /libcaja-private | |
parent | e8b147a9629781d44c52d26c0f134ff3a74b5ba8 (diff) | |
download | caja-fabb934ec6fc53ac19cc59ce68d224818d511803.tar.bz2 caja-fabb934ec6fc53ac19cc59ce68d224818d511803.tar.xz |
Remove warnings about function declaration isn’t a prototype
Diffstat (limited to 'libcaja-private')
-rw-r--r-- | libcaja-private/caja-progress-info.c | 12 | ||||
-rw-r--r-- | libcaja-private/caja-search-engine-simple.c | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c index f749715f..729de29f 100644 --- a/libcaja-private/caja-progress-info.c +++ b/libcaja-private/caja-progress-info.c @@ -229,7 +229,7 @@ status_icon_activate_cb (GtkStatusIcon *icon, /* Creates a Singleton progress_window */ static GtkWidget * -get_progress_window () +get_progress_window (void) { static GtkWidget *progress_window = NULL; GtkWidget *vbox; @@ -350,7 +350,7 @@ update_data (ProgressWidgetData *data) /* You should always check return value */ static GtkWidget * -get_widgets_container () +get_widgets_container (void) { GtkWidget * window = get_progress_window (); return gtk_bin_get_child (GTK_BIN (window)); @@ -366,7 +366,7 @@ foreach_get_running_operations (GtkWidget * widget, int * n) } static int -get_running_operations () +get_running_operations (void) { GtkWidget * container = get_widgets_container(); int n = 0; @@ -391,7 +391,7 @@ foreach_get_queued_widget (GtkWidget * widget, GtkWidget ** out) } static GtkWidget * -get_first_queued_widget () +get_first_queued_widget (void) { GtkWidget * container = get_widgets_container(); GtkWidget * out = NULL; @@ -534,7 +534,7 @@ widget_reposition_as_running (GtkWidget * widget) } } -static void update_queue (); +static void update_queue (void); static void widget_state_transit_to (ProgressWidgetData *data, @@ -566,7 +566,7 @@ widget_state_transit_to (ProgressWidgetData *data, } static void -update_queue () +update_queue (void) { if (get_running_operations () == 0) { GtkWidget *next; diff --git a/libcaja-private/caja-search-engine-simple.c b/libcaja-private/caja-search-engine-simple.c index 05fe4701..c6448ded 100644 --- a/libcaja-private/caja-search-engine-simple.c +++ b/libcaja-private/caja-search-engine-simple.c @@ -342,7 +342,7 @@ file_has_all_tags (GFileInfo *info, GList *tags) } static inline gboolean -check_odt2txt () { +check_odt2txt (void) { gboolean rc = TRUE; int exit = 0; gchar *output = NULL; |