summaryrefslogtreecommitdiffstats
path: root/common/quic.c
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 /common/quic.c
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 'common/quic.c')
-rw-r--r--common/quic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/quic.c b/common/quic.c
index 5a413990..ca7ffd24 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -251,7 +251,7 @@ static const unsigned int tabrand_chaos[TABRAND_TABSIZE] = {
0x81474925, 0xa8b6c7ad, 0xee5931de, 0xb2f8158d, 0x59fb7409, 0x2e3dfaed, 0x9af25a3f, 0xe1fed4d5,
};
-static unsigned int stabrand()
+static unsigned int stabrand(void)
{
//ASSERT( !(TABRAND_SEEDMASK & TABRAND_TABSIZE));
//ASSERT( TABRAND_SEEDMASK + 1 == TABRAND_TABSIZE );
@@ -535,7 +535,7 @@ static int J[MELCSTATES] = {
};
/* creates the bit counting look-up table. */
-static void init_zeroLUT()
+static void init_zeroLUT(void)
{
int i, j, k, l;