diff options
author | 2019-03-11 13:19:03 +0000 | |
---|---|---|
committer | 2019-03-11 13:19:03 +0000 | |
commit | 015dd9ff5891b196a852615a048d89461334d43c (patch) | |
tree | 51f74677cfbe042d2215d26fee1ee8a42422defa /usr.bin/mandoc/mdoc_validate.c | |
parent | fix the documentation for mpls interfaces (diff) | |
download | wireguard-openbsd-015dd9ff5891b196a852615a048d89461334d43c.tar.xz wireguard-openbsd-015dd9ff5891b196a852615a048d89461334d43c.zip |
mark check_abort() and post_abort() as __dead;
based on a patch by Christos@ Zoulas at NetBSD
Diffstat (limited to 'usr.bin/mandoc/mdoc_validate.c')
-rw-r--r-- | usr.bin/mandoc/mdoc_validate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/mdoc_validate.c b/usr.bin/mandoc/mdoc_validate.c index 53b03a6119e..97c565f76b2 100644 --- a/usr.bin/mandoc/mdoc_validate.c +++ b/usr.bin/mandoc/mdoc_validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mdoc_validate.c,v 1.286 2019/03/04 13:01:52 schwarze Exp $ */ +/* $OpenBSD: mdoc_validate.c,v 1.287 2019/03/11 13:19:03 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2019 Ingo Schwarze <schwarze@openbsd.org> @@ -62,7 +62,7 @@ static size_t macro2len(enum roff_tok); static void rewrite_macro2len(struct roff_man *, char **); static int similar(const char *, const char *); -static void post_abort(POST_ARGS); +static __dead void post_abort(POST_ARGS); static void post_an(POST_ARGS); static void post_an_norm(POST_ARGS); static void post_at(POST_ARGS); @@ -495,7 +495,7 @@ check_toptext(struct roff_man *mdoc, int ln, int pos, const char *p) } } -static void +static __dead void post_abort(POST_ARGS) { abort(); |