summaryrefslogtreecommitdiffstats
path: root/server/snd_worker.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 23:23:18 +0200
committerAlon Levy <alevy@redhat.com>2011-07-21 15:09:29 +0300
commit7db7212c3a336c9499bfcd10d2affbf76bf1d6b1 (patch)
treebc22c6321c5dafc5f5c2af8701875e87a043895f /server/snd_worker.h
parent0d1a9a3c89d9c31f7cc03b849bcec9ba698abb63 (diff)
downloadspice-7db7212c3a336c9499bfcd10d2affbf76bf1d6b1.tar.gz
spice-7db7212c3a336c9499bfcd10d2affbf76bf1d6b1.tar.xz
spice-7db7212c3a336c9499bfcd10d2affbf76bf1d6b1.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. [picked from master with changes since no main_channel, spice_common, and a bunch of functions aren't there yet]
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