- Removed from external interface preprocessor symbol definition for
CARES_HAVE_ARES_FREE_DATA. Current functionality of ares_free_data() makes it unnecessary.
This commit is contained in:
Родитель
083e2df4ed
Коммит
e536cb085f
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче