summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_validate.c4
-rw-r--r--mdoc_validate.c4
2 files changed, 4 insertions, 4 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();
diff --git a/mdoc_validate.c b/mdoc_validate.c
index ecbc509a..4b76c262 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -64,7 +64,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);
@@ -497,7 +497,7 @@ check_toptext(struct roff_man *mdoc, int ln, int pos, const char *p)
}
}
-static void
+static __dead void
post_abort(POST_ARGS)
{
abort();