diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-19 23:23:18 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-02 11:24:44 +0200 |
commit | 8a1ceb65faedb182d4e274833d72d0862a46a876 (patch) | |
tree | fc363488190b7a5530385c856588e03f25359e9a /server/smartcard.h | |
parent | fa6956fff50ced22c20bd7a4f06a8fa00a0cd28c (diff) | |
download | spice-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/smartcard.h')
-rw-r--r-- | server/smartcard.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/smartcard.h b/server/smartcard.h index 790eb878..bb2f0b60 100644 --- a/server/smartcard.h +++ b/server/smartcard.h @@ -12,7 +12,7 @@ int smartcard_device_connect(SpiceCharDeviceInstance *char_device); void smartcard_device_disconnect(SpiceCharDeviceInstance *char_device); -void smartcard_channel_init(); +void smartcard_channel_init(void); #endif // __SMART_CARD_H__ |