http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6121af5
)
ws2_32/tests: Fix the gethostname prototype.
author
Alexandre Julliard
<julliard@winehq.org>
Tue, 29 Apr 2008 18:17:50 +0000
(20:17 +0200)
committer
Alexandre Julliard
<julliard@winehq.org>
Tue, 29 Apr 2008 18:17:50 +0000
(20:17 +0200)
dlls/ws2_32/tests/sock.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/ws2_32/tests/sock.c
b/dlls/ws2_32/tests/sock.c
index 3c314d424ce97cb4e52bfd627aea993a0adafc87..939bdaa747982986d1f6651828502f93668e6cbe 100644
(file)
--- 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)
{