Module Name:    othersrc
Committed By:   wiz
Date:           Sat Dec  5 08:47:24 UTC 2015

Modified Files:
        othersrc/external/bsd/arfe/dt: dt.c
        othersrc/external/bsd/arfe/it: it.c
        othersrc/external/bsd/arfe/tt: tt.c

Log Message:
Sprinkle __attribute__((__noreturn__)) to fix build on 7.99.23 with clang.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 othersrc/external/bsd/arfe/dt/dt.c
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/arfe/it/it.c
cvs rdiff -u -r1.3 -r1.4 othersrc/external/bsd/arfe/tt/tt.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: othersrc/external/bsd/arfe/dt/dt.c
diff -u othersrc/external/bsd/arfe/dt/dt.c:1.16 othersrc/external/bsd/arfe/dt/dt.c:1.17
--- othersrc/external/bsd/arfe/dt/dt.c:1.16	Thu Dec  3 03:29:01 2015
+++ othersrc/external/bsd/arfe/dt/dt.c	Sat Dec  5 08:47:23 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: dt.c,v 1.16 2015/12/03 03:29:01 dyoung Exp $ */
+/* $NetBSD: dt.c,v 1.17 2015/12/05 08:47:23 wiz Exp $ */
 /* $ARFE: dt.c 302 2015-12-02 23:44:24Z dyoung $ */
 
 /*-
@@ -44,6 +44,8 @@
 
 #include "core.h"
 
+static void usage(void) __attribute__((__noreturn__));
+
 static void
 usage(void)
 {

Index: othersrc/external/bsd/arfe/it/it.c
diff -u othersrc/external/bsd/arfe/it/it.c:1.2 othersrc/external/bsd/arfe/it/it.c:1.3
--- othersrc/external/bsd/arfe/it/it.c:1.2	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/it/it.c	Sat Dec  5 08:47:24 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: it.c,v 1.2 2015/12/02 23:39:51 dyoung Exp $ */
+/* $NetBSD: it.c,v 1.3 2015/12/05 08:47:24 wiz Exp $ */
 /* $ARFE: dt.c 247 2015-09-14 02:52:57Z dyoung $ */
 
 /*-
@@ -44,6 +44,8 @@
 
 #include "core.h"
 
+static void usage(void) __attribute__((__noreturn__));
+
 static void
 usage(void)
 {

Index: othersrc/external/bsd/arfe/tt/tt.c
diff -u othersrc/external/bsd/arfe/tt/tt.c:1.3 othersrc/external/bsd/arfe/tt/tt.c:1.4
--- othersrc/external/bsd/arfe/tt/tt.c:1.3	Wed Dec  2 23:39:51 2015
+++ othersrc/external/bsd/arfe/tt/tt.c	Sat Dec  5 08:47:24 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: tt.c,v 1.3 2015/12/02 23:39:51 dyoung Exp $ */
+/* $NetBSD: tt.c,v 1.4 2015/12/05 08:47:24 wiz Exp $ */
 /* $ARFE$ */
 
 /*-
@@ -44,6 +44,8 @@
 
 #include "core.h"
 
+static void usage(void) __attribute__((__noreturn__));
+
 static void
 usage(void)
 {

Reply via email to