summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-02-06 16:46:15 +0100
committerraveit65 <[email protected]>2020-03-10 15:12:42 +0100
commit1e73981afa3bc9ade66d19da3e02e4afc353061e (patch)
tree5499474ff2b9d9606dadebbdd1564bf5c1268405
parent2f6a5e1b7456fe3accfedd2b5051a96923e3c044 (diff)
downloadmate-utils-1e73981afa3bc9ade66d19da3e02e4afc353061e.tar.bz2
mate-utils-1e73981afa3bc9ade66d19da3e02e4afc353061e.tar.xz
Remove warnings: function declaration isn’t a prototype
-rw-r--r--logview/src/logview-app.c2
-rw-r--r--mate-screenshot/src/mate-screenshot.c4
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)