From 8a1ceb65faedb182d4e274833d72d0862a46a876 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 19 Apr 2011 23:23:18 +0200 Subject: 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. --- server/smartcard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/smartcard.h') 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__ -- cgit