diff options
author | Brad King <brad.king@kitware.com> | 2003-02-05 22:52:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-02-05 22:52:18 (GMT) |
commit | ce3edc362fd3b974ac1c29f1603ba071eb753fe2 (patch) | |
tree | 8fa0c0f2a101db8272d3682b231a2ceaf2f73b1f /Source | |
parent | 3a68f653aee44e78c952c5b150da3f69c426871b (diff) | |
download | CMake-ce3edc362fd3b974ac1c29f1603ba071eb753fe2.zip CMake-ce3edc362fd3b974ac1c29f1603ba071eb753fe2.tar.gz CMake-ce3edc362fd3b974ac1c29f1603ba071eb753fe2.tar.bz2 |
BUG: Don't include prototype in test for gethostbyname_r.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/Curl/CMake/CurlTests.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Source/CTest/Curl/CMake/CurlTests.c b/Source/CTest/Curl/CMake/CurlTests.c index 42fa9be..763ed77 100644 --- a/Source/CTest/Curl/CMake/CurlTests.c +++ b/Source/CTest/Curl/CMake/CurlTests.c @@ -182,8 +182,11 @@ rc = gethostbyaddr_r(address, length, type, &h, #undef NULL #define NULL (void *)0 +#if 0 int gethostbyname_r(const char *, struct hostent *, struct hostent_data *); +#endif + int main () { @@ -202,8 +205,11 @@ gethostbyname_r(NULL, NULL, NULL); #undef NULL #define NULL (void *)0 +#if 0 int gethostbyname_r(const char *, struct hostent *, struct hostent_data *); +#endif + int main () { @@ -221,8 +227,11 @@ gethostbyname_r(NULL, NULL, NULL); #undef NULL #define NULL (void *)0 +#if 0 struct hostent * gethostbyname_r(const char *, struct hostent *, char *, int, int *); +#endif + int main () { @@ -239,8 +248,11 @@ gethostbyname_r(NULL, NULL, NULL, 0, NULL); #undef NULL #define NULL (void *)0 +#if 0 struct hostent * gethostbyname_r(const char *, struct hostent *, char *, int, int *); +#endif + int main () { @@ -256,9 +268,12 @@ gethostbyname_r(NULL, NULL, NULL, 0, NULL); #undef NULL #define NULL (void *)0 +#if 0 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); +#endif + int main () { @@ -275,9 +290,12 @@ gethostbyname_r(NULL, NULL, NULL, 0, NULL, NULL); #undef NULL #define NULL (void *)0 +#if 0 int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *); +#endif + int main () { |