summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/bin/dig/dig.c
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2020-01-09 18:16:00 +0000
committerflorian <florian@openbsd.org>2020-01-09 18:16:00 +0000
commitcd791176e306ca11cb8014632c51929890178f09 (patch)
tree547d2f14344b6dae134e8c614b3ce4363fe8de37 /usr.sbin/bind/bin/dig/dig.c
parentNuke atomics support. This gets rid of 4k lines of code including a bunch (diff)
downloadwireguard-openbsd-cd791176e306ca11cb8014632c51929890178f09.tar.xz
wireguard-openbsd-cd791176e306ca11cb8014632c51929890178f09.zip
We use __dead for functions that do not return.
OK millert
Diffstat (limited to 'usr.sbin/bind/bin/dig/dig.c')
-rw-r--r--usr.sbin/bind/bin/dig/dig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bind/bin/dig/dig.c b/usr.sbin/bind/bin/dig/dig.c
index 847087b84c7..4dbb82ed22f 100644
--- a/usr.sbin/bind/bin/dig/dig.c
+++ b/usr.sbin/bind/bin/dig/dig.c
@@ -14,10 +14,10 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dig.c,v 1.34 2020/01/09 14:19:49 florian Exp $ */
+/* $Id: dig.c,v 1.35 2020/01/09 18:16:00 florian Exp $ */
/*! \file */
-
+#include <sys/cdefs.h>
#include <config.h>
#include <stdlib.h>
#include <time.h>
@@ -163,8 +163,8 @@ print_usage(FILE *fp) {
" +[no]tcp +timeout=# +[no]trace +tries=# +[no]ttlid +[no]vc\n", fp);
}
-ISC_PLATFORM_NORETURN_PRE static void
-usage(void) ISC_PLATFORM_NORETURN_POST;
+static __dead void
+usage(void);
static void
usage(void) {