ANSIfy + __dead
This commit is contained in:
parent
58b3bed15d
commit
0cc6686eff
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: unlink.c,v 1.4 2008/07/21 13:37:00 lukem Exp $ */
|
||||
/* $NetBSD: unlink.c,v 1.5 2011/08/30 20:50:24 joerg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
|
@ -33,7 +33,7 @@
|
|||
#ifndef lint
|
||||
__COPYRIGHT("@(#) Copyright (c) 1999\
|
||||
The NetBSD Foundation, Inc. All rights reserved.");
|
||||
__RCSID("$NetBSD: unlink.c,v 1.4 2008/07/21 13:37:00 lukem Exp $");
|
||||
__RCSID("$NetBSD: unlink.c,v 1.5 2011/08/30 20:50:24 joerg Exp $");
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
|
@ -41,13 +41,10 @@ __RCSID("$NetBSD: unlink.c,v 1.4 2008/07/21 13:37:00 lukem Exp $");
|
|||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
|
||||
int main __P((int, char *[]));
|
||||
static void usage __P((void));
|
||||
__dead static void usage(void);
|
||||
|
||||
int
|
||||
main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
|
||||
(void)setlocale(LC_ALL, "");
|
||||
|
@ -65,7 +62,7 @@ main(argc, argv)
|
|||
}
|
||||
|
||||
static void
|
||||
usage()
|
||||
usage(void)
|
||||
{
|
||||
|
||||
(void)fprintf(stderr, "usage: unlink file\n");
|
||||
|
|
Loading…
Reference in New Issue