From 011266555a78e000a69caf9c3009f71caa9f7dc2 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Mon, 5 Sep 2011 02:54:20 +0200 Subject: server: fix function prototypes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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] --- server/inputs_channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/inputs_channel.c') diff --git a/server/inputs_channel.c b/server/inputs_channel.c index a6dec839..24fc6211 100644 --- a/server/inputs_channel.c +++ b/server/inputs_channel.c @@ -198,7 +198,7 @@ static void inputs_channel_release_msg_rcv_buf(RedChannelClient *rcc, SpiceDataH ((state & SPICE_MOUSE_BUTTON_MASK_MIDDLE) ? VD_AGENT_MBUTTON_MASK : 0) | \ ((state & SPICE_MOUSE_BUTTON_MASK_RIGHT) ? VD_AGENT_RBUTTON_MASK : 0)) -static void activate_modifiers_watch() +static void activate_modifiers_watch(void) { core->timer_start(key_modifiers_timer, KEY_MODIFIERS_TTL); } -- cgit