summaryrefslogtreecommitdiffstats
path: root/common/quic.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-19 23:23:18 +0200
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-20 15:25:51 +0100
commit57b6e08160ea1a0f7623310d5ed3c018ab5ee39c (patch)
tree87808284081c3ecfa4b328ce59b4e940f97219b7 /common/quic.h
parentc1530facf4971748b0635c24ae3ab5c0dddd710f (diff)
downloadspice-common-57b6e08160ea1a0f7623310d5ed3c018ab5ee39c.tar.gz
spice-common-57b6e08160ea1a0f7623310d5ed3c018ab5ee39c.tar.xz
spice-common-57b6e08160ea1a0f7623310d5ed3c018ab5ee39c.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 'common/quic.h')
-rw-r--r--common/quic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/quic.h b/common/quic.h
index d031777..6047da8 100644
--- a/common/quic.h
+++ b/common/quic.h
@@ -63,7 +63,7 @@ int quic_decode(QuicContext *quic, QuicImageType type, uint8_t *buf, int stride)
QuicContext *quic_create(QuicUsrContext *usr);
void quic_destroy(QuicContext *quic);
-void quic_init();
+void quic_init(void);
#ifdef __cplusplus
}