From: Yang Tse Date: Mon, 23 Nov 2009 11:26:29 +0000 (+0000) Subject: - Removed from external interface preprocessor symbol definition for X-Git-Tag: curl-7_20_0~324 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e536cb085f55a821a482618e276cc35b3a9f5f14;p=thirdparty%2Fcurl.git - Removed from external interface preprocessor symbol definition for CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data() makes it unnecessary. --- diff --git a/ares/ares_free_data.3 b/ares/ares_free_data.3 index c9ec598023..30dcef49a2 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 517e8a9a75..66d4bcc78d 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