Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/file/dist/src Only use __dead if it exists.
details: https://anonhg.NetBSD.org/src/rev/e64661c5614a
branches: trunk
changeset: 326055:e64661c5614a
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jan 16 23:36:52 2014 +0000
description:
Only use __dead if it exists.
diffstat:
external/bsd/file/dist/src/file.c | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 4100c975de80 -r e64661c5614a external/bsd/file/dist/src/file.c
--- a/external/bsd/file/dist/src/file.c Thu Jan 16 23:35:54 2014 +0000
+++ b/external/bsd/file/dist/src/file.c Thu Jan 16 23:36:52 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: file.c,v 1.2 2014/01/16 23:35:54 joerg Exp $ */
+/* $NetBSD: file.c,v 1.3 2014/01/16 23:36:52 joerg Exp $ */
/*
* Copyright (c) Ian F. Darwin 1986-1995.
@@ -37,7 +37,7 @@
#if 0
FILE_RCSID("@(#)$File: file.c,v 1.152 2013/06/26 14:46:54 christos Exp $")
#else
-__RCSID("$NetBSD: file.c,v 1.2 2014/01/16 23:35:54 joerg Exp $");
+__RCSID("$NetBSD: file.c,v 1.3 2014/01/16 23:36:52 joerg Exp $");
#endif
#endif /* lint */
@@ -127,9 +127,15 @@
private char *progname; /* used throughout */
-private void usage(void) __dead;
+#ifdef __dead
+__dead
+#endif
+private void usage(void);
private void docprint(const char *);
-private void help(void) __dead;
+#ifdef __dead
+__dead
+#endif
+private void help(void);
private int unwrap(struct magic_set *, const char *);
private int process(struct magic_set *ms, const char *, int);
Home |
Main Index |
Thread Index |
Old Index