summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2009-11-23 11:26:29 +0000
committerYang Tse <yangsita@gmail.com>2009-11-23 11:26:29 +0000
commite536cb085f55a821a482618e276cc35b3a9f5f14 (patch)
treef38c57f821afd0ead649193b0cf81c9c7f894270
parent083e2df4ed2895d13e8e855350839328ec7f941f (diff)
downloadgnurl-e536cb085f55a821a482618e276cc35b3a9f5f14.tar.gz
gnurl-e536cb085f55a821a482618e276cc35b3a9f5f14.tar.bz2
gnurl-e536cb085f55a821a482618e276cc35b3a9f5f14.zip
- Removed from external interface preprocessor symbol definition for
CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data() makes it unnecessary.
-rw-r--r--ares/ares_free_data.36
-rw-r--r--ares/ares_version.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/ares/ares_free_data.3 b/ares/ares_free_data.3
index c9ec59802..30dcef49a 100644
--- a/ares/ares_free_data.3
+++ b/ares/ares_free_data.3
@@ -15,7 +15,7 @@
.\" this software for any purpose. It is provided "as is"
.\" without express or implied warranty.
.\"
-.TH ARES_FREE_DATA 3 "20 Nov 2009"
+.TH ARES_FREE_DATA 3 "23 Nov 2009"
.SH NAME
ares_free_data \- Free data allocated by several c-ares functions
.SH SYNOPSIS
@@ -48,9 +48,7 @@ associated with those structures.
.SH RETURN VALUE
The ares_free_data() function does not return a value.
.SH AVAILABILITY
-This function was first introduced in c-ares version 1.6.1 along with the
-definition of preprocessor symbol \fICARES_HAVE_ARES_FREE_DATA\fP as an
-indication of the availability of this function.
+This function was first introduced in c-ares version 1.6.1.
.SH SEE ALSO
.BR ares_parse_srv_reply(3),
.BR ares_parse_txt_reply(3)
diff --git a/ares/ares_version.h b/ares/ares_version.h
index 517e8a9a7..66d4bcc78 100644
--- a/ares/ares_version.h
+++ b/ares/ares_version.h
@@ -12,11 +12,9 @@
#define ARES_VERSION_STR "1.6.1-CVS"
#if (ARES_VERSION >= 0x010601)
-# define CARES_HAVE_ARES_FREE_DATA 1
# define CARES_HAVE_ARES_LIBRARY_INIT 1
# define CARES_HAVE_ARES_LIBRARY_CLEANUP 1
#else
-# undef CARES_HAVE_ARES_FREE_DATA
# undef CARES_HAVE_ARES_LIBRARY_INIT
# undef CARES_HAVE_ARES_LIBRARY_CLEANUP
#endif