ADVAPI: silence some -Wmissing-declarations warnings

Mike McCormack mike at codeweavers.com
Sun Jun 12 21:39:58 CDT 2005


ChangeLog:
* silence some -Wmissing-declarations warnings
-------------- next part --------------
Index: dlls/advapi32/service.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/service.c,v
retrieving revision 1.88
diff -u -p -r1.88 service.c
--- dlls/advapi32/service.c	19 Apr 2005 10:24:22 -0000	1.88
+++ dlls/advapi32/service.c	13 Jun 2005 02:41:30 -0000
@@ -32,6 +32,8 @@
 #include "wine/unicode.h"
 #include "wine/debug.h"
 #include "winternl.h"
+#include "lmcons.h"
+#include "lmserver.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(advapi);
 
Index: dlls/advapi32/tests/crypt_md4.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/crypt_md4.c,v
retrieving revision 1.1
diff -u -p -r1.1 crypt_md4.c
--- dlls/advapi32/tests/crypt_md4.c	6 Oct 2004 18:53:29 -0000	1.1
+++ dlls/advapi32/tests/crypt_md4.c	13 Jun 2005 02:41:30 -0000
@@ -43,7 +43,7 @@ fnMD4Final pMD4Final;
 
 #define ctxcmp( a, b ) memcmp( (char*)a, (char*)b, FIELD_OFFSET( MD4_CTX, in ) )
 
-void test_md4_ctx()
+static void test_md4_ctx(void)
 {
     static unsigned char message[] =
         "In our Life there's If"
Index: dlls/advapi32/tests/crypt_md5.c
===================================================================
RCS file: /home/wine/wine/dlls/advapi32/tests/crypt_md5.c,v
retrieving revision 1.1
diff -u -p -r1.1 crypt_md5.c
--- dlls/advapi32/tests/crypt_md5.c	6 Oct 2004 18:53:29 -0000	1.1
+++ dlls/advapi32/tests/crypt_md5.c	13 Jun 2005 02:41:30 -0000
@@ -43,7 +43,7 @@ fnMD5Final pMD5Final;
 
 #define ctxcmp( a, b ) memcmp( (char*)a, (char*)b, FIELD_OFFSET( MD5_CTX, in ) )
 
-void test_md5_ctx()
+static void test_md5_ctx(void)
 {
     static unsigned char message[] =
         "In our Life there's If"


More information about the wine-patches mailing list