Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/ndiscvt Use __dead
details: https://anonhg.NetBSD.org/src/rev/9f0663095b38
branches: trunk
changeset: 771573:9f0663095b38
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Nov 25 13:18:22 2011 +0000
description:
Use __dead
diffstat:
usr.sbin/ndiscvt/inf-token.l | 4 ++--
usr.sbin/ndiscvt/ndiscvt.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (51 lines):
diff -r 91339cb9f759 -r 9f0663095b38 usr.sbin/ndiscvt/inf-token.l
--- a/usr.sbin/ndiscvt/inf-token.l Fri Nov 25 13:13:33 2011 +0000
+++ b/usr.sbin/ndiscvt/inf-token.l Fri Nov 25 13:18:22 2011 +0000
@@ -36,7 +36,7 @@
__FBSDID("$FreeBSD: src/usr.sbin/ndiscvt/inf-token.l,v 1.3 2004/01/11 21:10:35 mdodd Exp $");
#endif
#ifdef __NetBSD__
-__RCSID("$NetBSD: inf-token.l,v 1.9 2011/06/09 13:09:42 joerg Exp $");
+__RCSID("$NetBSD: inf-token.l,v 1.10 2011/11/25 13:18:22 joerg Exp $");
#endif
#include <regex.h>
@@ -58,7 +58,7 @@
result = opt_unicode_input(buf, max_size)
int yylex(void);
-void ndiscvt_error(const char *);
+__dead void ndiscvt_error(const char *);
int ndiscvt_wrap(void);
static void
diff -r 91339cb9f759 -r 9f0663095b38 usr.sbin/ndiscvt/ndiscvt.c
--- a/usr.sbin/ndiscvt/ndiscvt.c Fri Nov 25 13:13:33 2011 +0000
+++ b/usr.sbin/ndiscvt/ndiscvt.c Fri Nov 25 13:18:22 2011 +0000
@@ -35,7 +35,7 @@
__FBSDID("$FreeBSD: src/usr.sbin/ndiscvt/ndiscvt.c,v 1.9.2.2 2005/02/23 16:31:47 wpaul Exp $");
#endif
#ifdef __NetBSD__
-__RCSID("$NetBSD: ndiscvt.c,v 1.9 2006/05/28 11:33:56 jnemeth Exp $");
+__RCSID("$NetBSD: ndiscvt.c,v 1.10 2011/11/25 13:18:22 joerg Exp $");
#endif
@@ -164,7 +164,7 @@
return(0);
}
-static void
+__dead static void
usage(void)
{
fprintf(stderr, "Usage: %s [-O] [-i <inffile>] -s <sysfile> "
@@ -239,7 +239,7 @@
return;
}
-static void
+__dead static void
firmcvt(char *firmfile)
{
char *basefile, *outfile, *ptr;
Home |
Main Index |
Thread Index |
Old Index