ws2_32/tests: Fix the gethostname prototype.
This commit is contained in:
parent
6121af50d6
commit
4c4544910e
|
@ -1768,7 +1768,7 @@ static void test_dns(void)
|
||||||
/* Our winsock headers don't define gethostname because it conflicts with the
|
/* 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. */
|
* 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)
|
static void test_gethostbyname_hack(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue