summaryrefslogtreecommitdiff
path: root/typing-break
diff options
context:
space:
mode:
Diffstat (limited to 'typing-break')
-rw-r--r--typing-break/drw-timer.c2
-rw-r--r--typing-break/drw-timer.h2
2 files changed, 2 insertions, 2 deletions
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);