Module Name: src Committed By: christos Date: Mon Mar 11 03:56:30 UTC 2019
Modified Files: src/external/bsd/mdocml/dist: man_validate.c mdoc_validate.c Log Message: add __dead for clang. To generate a diff of this commit: cvs rdiff -u -r1.1.1.19 -r1.2 src/external/bsd/mdocml/dist/man_validate.c cvs rdiff -u -r1.15 -r1.16 src/external/bsd/mdocml/dist/mdoc_validate.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/mdocml/dist/man_validate.c diff -u src/external/bsd/mdocml/dist/man_validate.c:1.1.1.19 src/external/bsd/mdocml/dist/man_validate.c:1.2 --- src/external/bsd/mdocml/dist/man_validate.c:1.1.1.19 Sun Mar 10 18:28:59 2019 +++ src/external/bsd/mdocml/dist/man_validate.c Sun Mar 10 23:56:30 2019 @@ -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); Index: src/external/bsd/mdocml/dist/mdoc_validate.c diff -u src/external/bsd/mdocml/dist/mdoc_validate.c:1.15 src/external/bsd/mdocml/dist/mdoc_validate.c:1.16 --- src/external/bsd/mdocml/dist/mdoc_validate.c:1.15 Sun Mar 10 20:15:38 2019 +++ src/external/bsd/mdocml/dist/mdoc_validate.c Sun Mar 10 23:56:30 2019 @@ -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 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);