Only use __dead if it exists.
This commit is contained in:
parent
0ce9920b0c
commit
960bda48eb
14
external/bsd/file/dist/src/file.c
vendored
14
external/bsd/file/dist/src/file.c
vendored
@ -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 const struct {
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user