From 1e73981afa3bc9ade66d19da3e02e4afc353061e Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 6 Feb 2020 16:46:15 +0100 Subject: =?UTF-8?q?Remove=20warnings:=20function=20declaration=20isn?= =?UTF-8?q?=E2=80=99t=20a=20prototype?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- logview/src/logview-app.c | 2 +- mate-screenshot/src/mate-screenshot.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/logview/src/logview-app.c b/logview/src/logview-app.c index d7f5af69..4de11571 100644 --- a/logview/src/logview-app.c +++ b/logview/src/logview-app.c @@ -94,7 +94,7 @@ typedef struct { /* adapted from sysklogd sources */ static GSList* -parse_syslog () +parse_syslog (void) { char cbuf[BUFSIZ]; char *cline, *p; diff --git a/mate-screenshot/src/mate-screenshot.c b/mate-screenshot/src/mate-screenshot.c index bfbc4346..af94d1ef 100644 --- a/mate-screenshot/src/mate-screenshot.c +++ b/mate-screenshot/src/mate-screenshot.c @@ -120,7 +120,7 @@ static GtkWidget *effect_label = NULL; static GtkWidget *effects_vbox = NULL; static GtkWidget *delay_hbox = NULL; -void loop_dialog_screenshot (); +void loop_dialog_screenshot (void); static void display_help (GtkWindow *parent) @@ -1248,7 +1248,7 @@ screenshooter_init_stock_icons (void) } void -loop_dialog_screenshot () +loop_dialog_screenshot (void) { /* interactive mode overrides everything */ if (interactive_arg) -- cgit v1.2.1