Add better EMPTY_TRANSLATION_UNIT to isc/util.h

This commit is contained in:
Ondřej Surý
2018-06-14 23:55:17 +02:00
committed by Ondřej Surý
parent 38060959c7
commit 8ee23a47e8

View File

@@ -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