summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-06 21:15:40 +0200
committerZenWalker <[email protected]>2020-04-12 05:20:44 +0200
commit4a4d7407a30824d8f2d6aa3c43954759152d3df1 (patch)
tree5efc1afbcdb310e3ad4a424f075ca3fa83532c3b /libcaja-private
parent97782f227b98a4afb64354a0fad7836fe0802b66 (diff)
downloadcaja-4a4d7407a30824d8f2d6aa3c43954759152d3df1.tar.bz2
caja-4a4d7407a30824d8f2d6aa3c43954759152d3df1.tar.xz
Remove warnings about function declaration isn’t a prototype
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-progress-info.c12
-rw-r--r--libcaja-private/caja-search-engine-simple.c2
2 files changed, 7 insertions, 7 deletions
diff --git a/libcaja-private/caja-progress-info.c b/libcaja-private/caja-progress-info.c
index dc4d139b..3ade6cda 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 b7a985d4..cdf7ef91 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;