]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add noreturn attribute
authorMark Andrews <marka@isc.org>
Thu, 7 Mar 2019 05:45:04 +0000 (16:45 +1100)
committerMark Andrews <marka@isc.org>
Thu, 7 Mar 2019 05:45:04 +0000 (16:45 +1100)
lib/ns/tests/plugin_test.c

index 04ce737681bc03561a0a7fe51f4f3b4a47d0ac5f..e4d070ed42b84dac4a4882563258ef9007e5d285 100644 (file)
 #include <string.h>
 
 #include <isc/mem.h>
+#include <isc/platform.h>
 #include <isc/result.h>
 #include <isc/types.h>
 #include <isc/util.h>
 
+ISC_PLATFORM_NORETURN_PRE void _fail(const char * const file, const int line) ISC_PLATFORM_NORETURN_POST;
+
 #include <ns/hooks.h>
 
 #include "nstest.h"