aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/timer.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 10:15:16 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 12:03:46 +0200
commit7e8202025952db439dd54979f6143ad94942dea3 (patch)
treea0b85d6da4f2c80de217ee0101f1b05a092a9090 /include/osmocom/core/timer.h
parentd9db89d1e7d40c2820e8df7f819783fef60bf87d (diff)
timer: use (void) for functions that take no arguments
This has been detected by http://smatch.sourceforge.net/
Diffstat (limited to 'include/osmocom/core/timer.h')
-rw-r--r--include/osmocom/core/timer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/osmocom/core/timer.h b/include/osmocom/core/timer.h
index db2ecbf7..6c2e8c50 100644
--- a/include/osmocom/core/timer.h
+++ b/include/osmocom/core/timer.h
@@ -64,9 +64,9 @@ int osmo_timer_pending(struct osmo_timer_list *timer);
/**
* internal timer list management
*/
-struct timeval *osmo_timers_nearest();
-void osmo_timers_prepare();
-int osmo_timers_update();
+struct timeval *osmo_timers_nearest(void);
+void osmo_timers_prepare(void);
+int osmo_timers_update(void);
int osmo_timers_check(void);
#endif