summaryrefslogtreecommitdiffstats
path: root/server/tests/basic_event_loop.c
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-09-05 02:54:20 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-09-05 07:52:20 +0200
commit011266555a78e000a69caf9c3009f71caa9f7dc2 (patch)
tree4e6684bc3b378bf131b55347da39bf812459564e /server/tests/basic_event_loop.c
parent7e1c773325c6f18af7b135dc2ee2b799801c2f57 (diff)
server: fix function prototypes
Several functions in server/ were not specifying an argument list, ie they were declared as void foo(); When compiling with -Wstrict-prototypes, this leads to: test_playback.c:93:5: erreur: function declaration isn’t a prototype [-Werror=strict-prototypes]
Diffstat (limited to 'server/tests/basic_event_loop.c')
-rw-r--r--server/tests/basic_event_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/basic_event_loop.c b/server/tests/basic_event_loop.c
index c74cbd83..e0cc06e6 100644
--- a/server/tests/basic_event_loop.c
+++ b/server/tests/basic_event_loop.c
@@ -159,7 +159,7 @@ void calc_next_timeout(SpiceTimer *next, struct timeval *timeout)
tv_b_minus_a_return_le_zero(&now, &next->tv_start, timeout);
}
-void timeout_timers()
+void timeout_timers(void)
{
SpiceTimer *next;
struct timeval left;