diff options
author | U-D5B1PQ1J\Administrador <Administrador@D5B1PQ1J.(none)> | 2010-08-07 14:33:14 +0200 |
---|---|---|
committer | U-D5B1PQ1J\Administrador <Administrador@D5B1PQ1J.(none)> | 2010-08-07 15:03:54 +0200 |
commit | 7d342c723c5ae8e9312210936287810741f40bc5 (patch) | |
tree | a9870c912e8a2dbfd8bdc8aa223057b0f02822a4 /lib/curl_gethostname.h | |
parent | 5c2b6b2d3e60500bb6b47b57cfe4e65c2ba03751 (diff) | |
download | curl-7d342c723c5ae8e9312210936287810741f40bc5.tar.gz |
build: allow NTLM tests to run on more build configurations
Diffstat (limited to 'lib/curl_gethostname.h')
-rw-r--r-- | lib/curl_gethostname.h | 9 |
1 files changed, 1 insertions, 8 deletions
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 */ |