summaryrefslogtreecommitdiffstats
path: root/server/snd_worker.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 23:23:18 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-05-02 11:24:44 +0200
commit8a1ceb65faedb182d4e274833d72d0862a46a876 (patch)
treefc363488190b7a5530385c856588e03f25359e9a /server/snd_worker.h
parentfa6956fff50ced22c20bd7a4f06a8fa00a0cd28c (diff)
downloadspice-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/snd_worker.h')
-rw-r--r--server/snd_worker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/snd_worker.h b/server/snd_worker.h
index 4d5a1b4a..7659cb23 100644
--- a/server/snd_worker.h
+++ b/server/snd_worker.h
@@ -27,7 +27,7 @@ void snd_attach_record(SpiceRecordInstance *sin);
void snd_detach_record(SpiceRecordInstance *sin);
void snd_set_playback_compression(int on);
-int snd_get_playback_compression();
+int snd_get_playback_compression(void);
#endif