cannot use 'inline' in header files because <config.h> has
not been included yet to undefine it on platforms that do not support it
This commit is contained in:
@@ -155,7 +155,7 @@ debug(char *format, ...) {
|
||||
}
|
||||
#endif
|
||||
|
||||
inline void
|
||||
void
|
||||
check_result(isc_result_t result, char *msg) {
|
||||
if (result != ISC_R_SUCCESS)
|
||||
fatal("%s: %s", msg, isc_result_totext(result));
|
||||
|
||||
@@ -116,7 +116,7 @@ void
|
||||
fatal(char *format, ...) ;
|
||||
void
|
||||
debug(char *format, ...) ;
|
||||
inline void
|
||||
void
|
||||
check_result(isc_result_t result, char *msg);
|
||||
isc_boolean_t
|
||||
isclass(char *text) ;
|
||||
|
||||
Reference in New Issue
Block a user