Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/mdocml/dist add __dead for clang.



details:   https://anonhg.NetBSD.org/src/rev/b01254c1300a
branches:  trunk
changeset: 997529:b01254c1300a
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Mar 11 03:56:30 2019 +0000

description:
add __dead for clang.

diffstat:

 external/bsd/mdocml/dist/man_validate.c  |  2 +-
 external/bsd/mdocml/dist/mdoc_validate.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 70597198dd2f -r b01254c1300a external/bsd/mdocml/dist/man_validate.c
--- a/external/bsd/mdocml/dist/man_validate.c   Mon Mar 11 03:00:41 2019 +0000
+++ b/external/bsd/mdocml/dist/man_validate.c   Mon Mar 11 03:56:30 2019 +0000
@@ -41,7 +41,7 @@
 
 typedef        void    (*v_check)(CHKARGS);
 
-static void      check_abort(CHKARGS);
+static void      check_abort(CHKARGS) __dead;
 static void      check_par(CHKARGS);
 static void      check_part(CHKARGS);
 static void      check_root(CHKARGS);
diff -r 70597198dd2f -r b01254c1300a external/bsd/mdocml/dist/mdoc_validate.c
--- a/external/bsd/mdocml/dist/mdoc_validate.c  Mon Mar 11 03:00:41 2019 +0000
+++ b/external/bsd/mdocml/dist/mdoc_validate.c  Mon Mar 11 03:56:30 2019 +0000
@@ -64,7 +64,7 @@
 static void     rewrite_macro2len(struct roff_man *, char **);
 static int      similar(const char *, const char *);
 
-static void     post_abort(POST_ARGS);
+static void     post_abort(POST_ARGS) __dead;
 static void     post_an(POST_ARGS);
 static void     post_an_norm(POST_ARGS);
 static void     post_at(POST_ARGS);



Home | Main Index | Thread Index | Old Index