Use __dead

This commit is contained in:
joerg 2011-11-25 13:18:22 +00:00
parent 0a04fd0539
commit ca8921efd7
2 changed files with 5 additions and 5 deletions

View File

@ -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 *buf, size_t max_size);
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

View File

@ -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, void *img, int fsize)
return;
}
static void
__dead static void
firmcvt(char *firmfile)
{
char *basefile, *outfile, *ptr;