diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-09-05 02:54:20 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-09-05 07:52:20 +0200 |
commit | 011266555a78e000a69caf9c3009f71caa9f7dc2 (patch) | |
tree | 4e6684bc3b378bf131b55347da39bf812459564e /server/inputs_channel.c | |
parent | 7e1c773325c6f18af7b135dc2ee2b799801c2f57 (diff) | |
download | spice-011266555a78e000a69caf9c3009f71caa9f7dc2.tar.gz spice-011266555a78e000a69caf9c3009f71caa9f7dc2.tar.xz spice-011266555a78e000a69caf9c3009f71caa9f7dc2.zip |
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/inputs_channel.c')
-rw-r--r-- | server/inputs_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |