summaryrefslogtreecommitdiff
path: root/lib/curl_gethostname.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curl_gethostname.h')
-rw-r--r--lib/curl_gethostname.h9
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 */