capi2032: Fix non-ANSI function declaration. Found by sparse.

Michael Stefaniuc mstefani at redhat.de
Mon Jun 4 17:18:07 CDT 2007


---
 dlls/capi2032/cap20wxx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/capi2032/cap20wxx.c b/dlls/capi2032/cap20wxx.c
index c8e6507..4f2352f 100644
--- a/dlls/capi2032/cap20wxx.c
+++ b/dlls/capi2032/cap20wxx.c
@@ -60,7 +60,7 @@ static unsigned char *(*pcapi20_get_manufacturer)(unsigned, unsigned char *) = N
 static unsigned char *(*pcapi20_get_serial_number)(unsigned, unsigned char *) = NULL;
 static unsigned char *(*pcapi20_get_version)(unsigned, unsigned char *) = NULL;
 
-static void load_functions() {
+static void load_functions(void) {
     void *capi_handle = NULL;
 
     if (pcapi20_register) /* loaded already */
-- 
1.5.0.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070605/1c7ac662/attachment.pgp


More information about the wine-patches mailing list