From 74b37280b37e98272409152a4918858a28fc6a87 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 13 Jun 2005 10:00:37 +0000 Subject: [PATCH] Silence some -Wmissing-declarations warnings. --- dlls/advapi32/service.c | 2 ++ dlls/advapi32/tests/crypt_md4.c | 2 +- dlls/advapi32/tests/crypt_md5.c | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c index fa5e9dc1624..e81b9875cd0 100644 --- a/dlls/advapi32/service.c +++ b/dlls/advapi32/service.c @@ -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); diff --git a/dlls/advapi32/tests/crypt_md4.c b/dlls/advapi32/tests/crypt_md4.c index c18f958b11c..a7622e0dc79 100644 --- a/dlls/advapi32/tests/crypt_md4.c +++ b/dlls/advapi32/tests/crypt_md4.c @@ -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" diff --git a/dlls/advapi32/tests/crypt_md5.c b/dlls/advapi32/tests/crypt_md5.c index 106ccdf2895..5d1cefbc58c 100644 --- a/dlls/advapi32/tests/crypt_md5.c +++ b/dlls/advapi32/tests/crypt_md5.c @@ -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" -- 2.11.4.GIT