Source-Changes-HG archive

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

src: sprinkle #ifdef __dead \n __dead \n #endif for clang



details:   https://anonhg.NetBSD.org/src/rev/9c9d87516449
branches:  trunk
changeset: 318289:9c9d87516449
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Tue Apr 17 12:34:04 2018 +0000
description:
sprinkle #ifdef __dead \n __dead \n #endif for clang

diffstat:

 external/bsd/file/dist/src/file.c |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (38 lines):

diff -r 59303227a4c4 -r 9c9d87516449 external/bsd/file/dist/src/file.c
--- a/external/bsd/file/dist/src/file.c Tue Apr 17 10:08:54 2018 +0000
+++ b/external/bsd/file/dist/src/file.c Tue Apr 17 12:34:04 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: file.c,v 1.9 2018/04/15 19:45:32 christos Exp $        */
+/*     $NetBSD: file.c,v 1.10 2018/04/17 12:34:04 jakllsch Exp $       */
 
 /*
  * Copyright (c) Ian F. Darwin 1986-1995.
@@ -37,7 +37,7 @@
 #if 0
 FILE_RCSID("@(#)$File: file.c,v 1.175 2018/03/02 16:11:37 christos Exp $")
 #else
-__RCSID("$NetBSD: file.c,v 1.9 2018/04/15 19:45:32 christos Exp $");
+__RCSID("$NetBSD: file.c,v 1.10 2018/04/17 12:34:04 jakllsch Exp $");
 #endif
 #endif /* lint */
 
@@ -677,6 +677,9 @@
        return file_progname;
 }
 
+#ifdef __dead
+__dead
+#endif
 protected void
 file_err(int e, const char *fmt, ...)
 {
@@ -691,6 +694,9 @@
        exit(e);
 }
 
+#ifdef __dead
+__dead
+#endif
 protected void
 file_errx(int e, const char *fmt, ...)
 {



Home | Main Index | Thread Index | Old Index