From e79be811b0c99f46ab5d1303d4eb4e8159300484 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Fri, 5 May 2000 18:22:16 +0000 Subject: [PATCH] cannot use 'inline' in header files because has not been included yet to undefine it on platforms that do not support it --- bin/dig/dighost.c | 2 +- bin/dig/include/dig/dig.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/dig/dighost.c b/bin/dig/dighost.c index a64037bdb2..d01b2635fe 100644 --- a/bin/dig/dighost.c +++ b/bin/dig/dighost.c @@ -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)); diff --git a/bin/dig/include/dig/dig.h b/bin/dig/include/dig/dig.h index 2447e234d4..30506c6acf 100644 --- a/bin/dig/include/dig/dig.h +++ b/bin/dig/include/dig/dig.h @@ -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) ;