diff options
author | Yang Tse <yangsita@gmail.com> | 2009-11-23 11:26:29 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-11-23 11:26:29 +0000 |
commit | 1479db32aa4a70a597bed84bfe0f061aee3f1ff7 (patch) | |
tree | 60a7c674d0fadd082eee82e92e433f3827ccd4a3 | |
parent | 004e6510ae3c56d28a9b0f70d882585ed77bc6ba (diff) | |
download | c-ares-1479db32aa4a70a597bed84bfe0f061aee3f1ff7.tar.gz c-ares-1479db32aa4a70a597bed84bfe0f061aee3f1ff7.tar.bz2 c-ares-1479db32aa4a70a597bed84bfe0f061aee3f1ff7.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_free_data.3 | 6 | ||||
-rw-r--r-- | ares_version.h | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/ares_free_data.3 b/ares_free_data.3 index c9ec598..30dcef4 100644 --- a/ares_free_data.3 +++ b/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_version.h b/ares_version.h index 517e8a9..66d4bcc 100644 --- a/ares_version.h +++ b/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 |