From e536cb085f55a821a482618e276cc35b3a9f5f14 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 23 Nov 2009 11:26:29 +0000 Subject: [PATCH] - Removed from external interface preprocessor symbol definition for CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data() makes it unnecessary. --- ares/ares_free_data.3 | 6 ++---- ares/ares_version.h | 2 -- 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