diff --git a/CHANGES b/CHANGES index 87b561efd7..c7fd9af356 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ + 110. [cleanup] does not need or + . + 109. [bug] "make depend" did nothing for bin/tests/{db,mem,sockaddr,tasks,timers}/. diff --git a/lib/isc/include/isc/result.h b/lib/isc/include/isc/result.h index 7cbb61e33b..35afaea061 100644 --- a/lib/isc/include/isc/result.h +++ b/lib/isc/include/isc/result.h @@ -18,13 +18,9 @@ #ifndef ISC_RESULT_H #define ISC_RESULT_H 1 -#include #include -#include #include -ISC_LANG_BEGINDECLS - #define ISC_R_SUCCESS 0 #define ISC_R_NOMEMORY 1 #define ISC_R_TIMEDOUT 2 @@ -66,12 +62,17 @@ ISC_LANG_BEGINDECLS #define ISC_R_NRESULTS 38 /* Number of results */ -char * isc_result_totext(isc_result_t); -isc_result_t isc_result_register(unsigned int base, - unsigned int nresults, - char **text, - isc_msgcat_t *msgcat, - int set); +ISC_LANG_BEGINDECLS + +char * +isc_result_totext(isc_result_t); +/* + * Convert an isc_result_t into a string message describing the result. + */ + +isc_result_t +isc_result_register(unsigned int base, unsigned int nresults, char **text, + isc_msgcat_t *msgcat, int set); ISC_LANG_ENDDECLS