diff options
| author | Harald Welte <laforge@gnumonks.org> | 2011-07-16 10:15:16 +0200 | 
|---|---|---|
| committer | Harald Welte <laforge@gnumonks.org> | 2011-07-16 12:03:46 +0200 | 
| commit | 7e8202025952db439dd54979f6143ad94942dea3 (patch) | |
| tree | a0b85d6da4f2c80de217ee0101f1b05a092a9090 /src | |
| parent | d9db89d1e7d40c2820e8df7f819783fef60bf87d (diff) | |
timer: use (void) for functions that take no arguments
This has been detected by http://smatch.sourceforge.net/
Diffstat (limited to 'src')
| -rw-r--r-- | src/timer.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/timer.c b/src/timer.c index ec752123..bd11a46c 100644 --- a/src/timer.c +++ b/src/timer.c @@ -80,7 +80,7 @@ int osmo_timer_pending(struct osmo_timer_list *timer)   * If the nearest timer timed out return NULL and then we will   * dispatch everything after the select   */ -struct timeval *osmo_timers_nearest() +struct timeval *osmo_timers_nearest(void)  {  	struct timeval current_time; @@ -107,7 +107,7 @@ struct timeval *osmo_timers_nearest()  /*   * Find the nearest time and update s_nearest_time   */ -void osmo_timers_prepare() +void osmo_timers_prepare(void)  {  	struct osmo_timer_list *timer, *nearest_timer = NULL;  	llist_for_each_entry(timer, &timer_list, entry) { @@ -126,7 +126,7 @@ void osmo_timers_prepare()  /*   * fire all timers... and remove them   */ -int osmo_timers_update() +int osmo_timers_update(void)  {  	struct timeval current_time;  	struct osmo_timer_list *timer, *tmp; | 
