summaryrefslogtreecommitdiffstats
path: root/server/reds.h
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/reds.h
parent7e1c773325c6f18af7b135dc2ee2b799801c2f57 (diff)
downloadspice-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/reds.h')
-rw-r--r--server/reds.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/reds.h b/server/reds.h
index 81da46d0..188bed5e 100644
--- a/server/reds.h
+++ b/server/reds.h
@@ -133,8 +133,8 @@ void reds_update_stat_value(uint32_t value);
// callbacks from main channel messages
void reds_on_main_agent_start(void);
void reds_on_main_agent_data(MainChannelClient *mcc, void *message, size_t size);
-void reds_on_main_migrate_connected();
-void reds_on_main_migrate_connect_error();
+void reds_on_main_migrate_connected(void);
+void reds_on_main_migrate_connect_error(void);
void reds_on_main_receive_migrate_data(MainMigrateData *data, uint8_t *end);
void reds_on_main_mouse_mode_request(void *message, size_t size);