* Kill __P()
* ANSIfy * Remove main() prototype
This commit is contained in:
parent
ea13a7dd7d
commit
80a3a0790b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: chflags.c,v 1.10 2003/08/07 11:13:17 agc Exp $ */
|
||||
/* $NetBSD: chflags.c,v 1.11 2005/01/12 17:19:23 xtraeme Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993, 1994
|
||||
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1992, 1993, 1994\n\
|
||||
#if 0
|
||||
static char sccsid[] = "from: @(#)chflags.c 8.5 (Berkeley) 4/1/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: chflags.c,v 1.10 2003/08/07 11:13:17 agc Exp $");
|
||||
__RCSID("$NetBSD: chflags.c,v 1.11 2005/01/12 17:19:23 xtraeme Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
@ -56,13 +56,10 @@ __RCSID("$NetBSD: chflags.c,v 1.10 2003/08/07 11:13:17 agc Exp $");
|
||||
|
||||
#include "stat_flags.h"
|
||||
|
||||
int main __P((int, char **));
|
||||
void usage __P((void));
|
||||
void usage (void);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
FTS *ftsp;
|
||||
FTSENT *p;
|
||||
@ -196,7 +193,7 @@ main(argc, argv)
|
||||
}
|
||||
|
||||
void
|
||||
usage()
|
||||
usage(void)
|
||||
{
|
||||
|
||||
(void)fprintf(stderr,
|
||||
|
Loading…
Reference in New Issue
Block a user