diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-19 23:23:18 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-20 15:25:51 +0100 |
commit | 57b6e08160ea1a0f7623310d5ed3c018ab5ee39c (patch) | |
tree | 87808284081c3ecfa4b328ce59b4e940f97219b7 /common/rop3.c | |
parent | c1530facf4971748b0635c24ae3ab5c0dddd710f (diff) | |
download | spice-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/rop3.c')
-rw-r--r-- | common/rop3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rop3.c b/common/rop3.c index 77f0a71..83880fe 100644 --- a/common/rop3.c +++ b/common/rop3.c @@ -381,7 +381,7 @@ ROP3_HANDLERS(DPSoo, *src | *pat | *dest, 0xfe); rop3_test_handlers_32[index] = rop3_test32_##op; \ rop3_test_handlers_16[index] = rop3_test16_##op; -void rop3_init() +void rop3_init(void) { static int need_init = 1; int i; |