diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-19 23:23:18 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-02 11:24:44 +0200 |
commit | 8a1ceb65faedb182d4e274833d72d0862a46a876 (patch) | |
tree | fc363488190b7a5530385c856588e03f25359e9a /server/red_dispatcher.h | |
parent | fa6956fff50ced22c20bd7a4f06a8fa00a0cd28c (diff) | |
download | spice-8a1ceb65faedb182d4e274833d72d0862a46a876.tar.gz spice-8a1ceb65faedb182d4e274833d72d0862a46a876.tar.xz spice-8a1ceb65faedb182d4e274833d72d0862a46a876.zip |
use foo(void) instead of foo() in prototypes
In C, the latter isn't a prototype for a function with no arg,
but declares a function with an undefined number of args.
Diffstat (limited to 'server/red_dispatcher.h')
-rw-r--r-- | server/red_dispatcher.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/red_dispatcher.h b/server/red_dispatcher.h index 7f8973a1..3f3c1aef 100644 --- a/server/red_dispatcher.h +++ b/server/red_dispatcher.h @@ -22,12 +22,12 @@ struct RedDispatcher *red_dispatcher_init(QXLInstance *qxl); void red_dispatcher_set_mm_time(uint32_t); -void red_dispatcher_on_ic_change(); -void red_dispatcher_on_sv_change(); +void red_dispatcher_on_ic_change(void); +void red_dispatcher_on_sv_change(void); void red_dispatcher_set_mouse_mode(uint32_t mode); -int red_dispatcher_count(); +int red_dispatcher_count(void); int red_dispatcher_add_renderer(const char *name); -uint32_t red_dispatcher_qxl_ram_size(); -int red_dispatcher_qxl_count(); +uint32_t red_dispatcher_qxl_ram_size(void); +int red_dispatcher_qxl_count(void); #endif |