diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-11 13:21:11 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-03-11 13:21:11 +0000 |
commit | 42b47b2c3ba1a93eb0d533fafeb94e04c29e504d (patch) | |
tree | 441f9dea0758364afd5dae7a5205be3767e45406 /man_validate.c | |
parent | e9f7fb459788fe20cd6c57c0ff31a401ea96eab9 (diff) | |
download | mandoc-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.c | 4 |
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(); |