Alexandre Julliard : ws2_32/tests: Fix the gethostname prototype.
Alexandre Julliard
julliard at winehq.org
Wed Apr 30 06:57:04 CDT 2008
Module: wine
Branch: master
Commit: 4c4544910e14a5b3a2d2a7bc4578367a31127368
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4c4544910e14a5b3a2d2a7bc4578367a31127368
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Apr 29 20:17:50 2008 +0200
ws2_32/tests: Fix the gethostname prototype.
---
dlls/ws2_32/tests/sock.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 3c314d4..939bdaa 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -1768,7 +1768,7 @@ static void test_dns(void)
/* Our winsock headers don't define gethostname because it conflicts with the
* definition in unistd.h. Define it here to get rid of the warning. */
-int gethostname(char *name, int namelen);
+int WINAPI gethostname(char *name, int namelen);
static void test_gethostbyname_hack(void)
{
More information about the wine-cvs
mailing list