Add more __dead.
This commit is contained in:
parent
fabae2a4ad
commit
2c7fa37363
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.6 2010/09/03 19:20:37 jmcneill Exp $ */
|
||||
/* $NetBSD: main.c,v 1.7 2013/08/12 14:03:18 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2010 Jared D. McNeill <jmcneill@invisible.ca>
|
||||
|
@ -37,7 +37,7 @@
|
|||
#include "audiodev.h"
|
||||
#include "drvctl.h"
|
||||
|
||||
static void
|
||||
__dead static void
|
||||
usage(const char *p)
|
||||
{
|
||||
fprintf(stderr, "usage: %s list\n", p);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: checknr.c,v 1.23 2013/08/11 06:45:23 dholland Exp $ */
|
||||
/* $NetBSD: checknr.c,v 1.24 2013/08/12 14:03:18 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
|
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)checknr.c 8.1 (Berkeley) 6/6/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: checknr.c,v 1.23 2013/08/11 06:45:23 dholland Exp $");
|
||||
__RCSID("$NetBSD: checknr.c,v 1.24 2013/08/12 14:03:18 joerg Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -210,7 +210,7 @@ static void nomatch(const char *);
|
|||
static void pe(int);
|
||||
static void process(FILE *);
|
||||
static void prop(int);
|
||||
static void usage(void);
|
||||
static void usage(void) __dead;
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rpc_main.c,v 1.36 2013/08/11 08:03:10 dholland Exp $ */
|
||||
/* $NetBSD: rpc_main.c,v 1.37 2013/08/12 14:03:18 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
|
@ -39,7 +39,7 @@
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)rpc_main.c 1.30 89/03/30 (C) 1987 SMI";
|
||||
#else
|
||||
__RCSID("$NetBSD: rpc_main.c,v 1.36 2013/08/11 08:03:10 dholland Exp $");
|
||||
__RCSID("$NetBSD: rpc_main.c,v 1.37 2013/08/12 14:03:18 joerg Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -171,8 +171,8 @@ static void addarg __P((const char *));
|
|||
static void putarg __P((int, const char *));
|
||||
static void checkfiles __P((const char *, const char *));
|
||||
static int parseargs __P((int, char *[], struct commandline *));
|
||||
static void usage __P((void));
|
||||
static void options_usage __P((void));
|
||||
static void usage(void) __dead;
|
||||
static void options_usage(void) __dead;
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rpc_util.h,v 1.6 2013/08/11 08:03:10 dholland Exp $ */
|
||||
/* $NetBSD: rpc_util.h,v 1.7 2013/08/12 14:03:18 joerg Exp $ */
|
||||
/*
|
||||
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
|
||||
* unrestricted use provided that this legend is included on all tape
|
||||
|
@ -113,12 +113,12 @@ int isvectordef __P((const char *, relation));
|
|||
char *locase __P((const char *));
|
||||
void pvname_svc __P((const char *, const char *));
|
||||
void pvname __P((const char *, const char *));
|
||||
void error __P((const char *));
|
||||
void crash __P((void));
|
||||
void error(const char *) __dead;
|
||||
void crash(void) __dead;
|
||||
void record_open __P((const char *));
|
||||
void expected1 __P((tok_kind));
|
||||
void expected2 __P((tok_kind, tok_kind ));
|
||||
void expected3 __P((tok_kind, tok_kind, tok_kind));
|
||||
void expected1(tok_kind) __dead;
|
||||
void expected2(tok_kind, tok_kind) __dead;
|
||||
void expected3(tok_kind, tok_kind, tok_kind) __dead;
|
||||
void tabify __P((FILE *, int));
|
||||
char *make_argname __P((const char *, const char *));
|
||||
void add_type __P((int, const char *));
|
||||
|
|
Loading…
Reference in New Issue