summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-11 13:21:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-11 13:21:11 +0000
commit42b47b2c3ba1a93eb0d533fafeb94e04c29e504d (patch)
tree441f9dea0758364afd5dae7a5205be3767e45406 /man_validate.c
parente9f7fb459788fe20cd6c57c0ff31a401ea96eab9 (diff)
downloadmandoc-42b47b2c3ba1a93eb0d533fafeb94e04c29e504d.tar.gz
mark check_abort() and post_abort() as __dead;
based on a patch by Christos@ Zoulas at NetBSD
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/man_validate.c b/man_validate.c
index e96c4983..dcae5ce3 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -41,7 +41,7 @@
typedef void (*v_check)(CHKARGS);
-static void check_abort(CHKARGS);
+static __dead void check_abort(CHKARGS);
static void check_par(CHKARGS);
static void check_part(CHKARGS);
static void check_root(CHKARGS);
@@ -196,7 +196,7 @@ check_root(CHKARGS)
"(OpenBSD)" : "(NetBSD)");
}
-static void
+static __dead void
check_abort(CHKARGS)
{
abort();