From 7419ff0f54fe9f1489bbc491ea78195bffe1cb76 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 6 Feb 2020 14:30:07 +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 --- typing-break/drw-timer.c | 2 +- typing-break/drw-timer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'typing-break') diff --git a/typing-break/drw-timer.c b/typing-break/drw-timer.c index ace2c19f..a757911e 100644 --- a/typing-break/drw-timer.c +++ b/typing-break/drw-timer.c @@ -26,7 +26,7 @@ struct _DrwTimer GTimeVal start_time; }; -DrwTimer * drw_timer_new () +DrwTimer * drw_timer_new (void) { DrwTimer * timer = g_new0 (DrwTimer, 1); drw_timer_start (timer); diff --git a/typing-break/drw-timer.h b/typing-break/drw-timer.h index 86636b00..428d9480 100644 --- a/typing-break/drw-timer.h +++ b/typing-break/drw-timer.h @@ -34,7 +34,7 @@ */ typedef struct _DrwTimer DrwTimer; -DrwTimer * drw_timer_new (); +DrwTimer * drw_timer_new (void); void drw_timer_start (DrwTimer *timer); double drw_timer_elapsed (DrwTimer *timer); void drw_timer_destroy (DrwTimer *timer); -- cgit v1.2.1