Module Name:    src
Committed By:   joerg
Date:           Fri Nov 25 13:18:22 UTC 2011

Modified Files:
        src/usr.sbin/ndiscvt: inf-token.l ndiscvt.c

Log Message:
Use __dead


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ndiscvt/inf-token.l \
    src/usr.sbin/ndiscvt/ndiscvt.c

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

Modified files:

Index: src/usr.sbin/ndiscvt/inf-token.l
diff -u src/usr.sbin/ndiscvt/inf-token.l:1.9 src/usr.sbin/ndiscvt/inf-token.l:1.10
--- src/usr.sbin/ndiscvt/inf-token.l:1.9	Thu Jun  9 13:09:42 2011
+++ src/usr.sbin/ndiscvt/inf-token.l	Fri Nov 25 13:18:22 2011
@@ -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 @@ static size_t opt_unicode_input(char *bu
 	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
Index: src/usr.sbin/ndiscvt/ndiscvt.c
diff -u src/usr.sbin/ndiscvt/ndiscvt.c:1.9 src/usr.sbin/ndiscvt/ndiscvt.c:1.10
--- src/usr.sbin/ndiscvt/ndiscvt.c:1.9	Sun May 28 11:33:56 2006
+++ src/usr.sbin/ndiscvt/ndiscvt.c	Fri Nov 25 13:18:22 2011
@@ -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 @@ int insert_padding(imgbase, imglen)
 	return(0);
 }
 
-static void
+__dead static void
 usage(void)
 {
 	fprintf(stderr, "Usage: %s [-O] [-i <inffile>] -s <sysfile> "
@@ -239,7 +239,7 @@ bincvt(char *sysfile, char *outfile, voi
 	return;
 }
    
-static void
+__dead static void
 firmcvt(char *firmfile)
 {
 	char			*basefile, *outfile, *ptr;

Reply via email to