From 7d342c723c5ae8e9312210936287810741f40bc5 Mon Sep 17 00:00:00 2001 From: "U-D5B1PQ1J\\Administrador" Date: Sat, 7 Aug 2010 14:33:14 +0200 Subject: build: allow NTLM tests to run on more build configurations --- lib/curl_gethostname.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'lib/curl_gethostname.h') diff --git a/lib/curl_gethostname.h b/lib/curl_gethostname.h index 0e393afe4..b8ecf88d6 100644 --- a/lib/curl_gethostname.h +++ b/lib/curl_gethostname.h @@ -22,13 +22,6 @@ * ***************************************************************************/ -#include "setup.h" - -/* wrapper around gethostname(), which makes it possible to override the - * returned value during testing. It reads the value of CURL_GETHOSTNAME - * environment variable when built with --enable-curldebug. The function always - * returns -1, if gethostname() is not available on system. - */ -int Curl_gethostname(char *name, size_t namelen); +int Curl_gethostname(char *name, GETHOSTNAME_TYPE_ARG2 namelen); #endif /* HEADER_CURL_GETHOSTNAME_H */ -- cgit v1.2.3