ws2_32/tests: Fix the gethostname prototype.

This commit is contained in:
Alexandre Julliard 2008-04-29 20:17:50 +02:00
parent 6121af50d6
commit 4c4544910e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{