From: Ondřej Surý Date: Thu, 14 Jun 2018 21:55:17 +0000 (+0200) Subject: Add better EMPTY_TRANSLATION_UNIT to isc/util.h X-Git-Tag: v9.13.2~33^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8ee23a47e8de6574d2c591991b564d1706d9f4e5;p=thirdparty%2Fbind9.git Add better EMPTY_TRANSLATION_UNIT to isc/util.h --- diff --git a/lib/isc/include/isc/util.h b/lib/isc/include/isc/util.h index 332dc0c2b9b..7b209db5820 100644 --- a/lib/isc/include/isc/util.h +++ b/lib/isc/include/isc/util.h @@ -69,7 +69,7 @@ * Use this in translation units that would otherwise be empty, to * suppress compiler warnings. */ -#define EMPTY_TRANSLATION_UNIT static void isc__empty(void) { isc__empty(); } +#define EMPTY_TRANSLATION_UNIT extern int isc__empty; /*% * We use macros instead of calling the routines directly because