This commit is contained in:
Alfred Perlstein 2002-07-14 18:23:22 +00:00
parent d183dcb670
commit da8de1e204
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99984
8 changed files with 10 additions and 13 deletions

View File

@ -2,5 +2,6 @@
# $FreeBSD$ # $FreeBSD$
PROG= apply PROG= apply
WARNS?= 4
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -258,7 +258,7 @@ exec_shell(const char *command, char *use_shell, char *use_name)
} }
void void
usage() usage(void)
{ {
(void)fprintf(stderr, (void)fprintf(stderr,

View File

@ -7,5 +7,6 @@ SRCS= append.c ar.c archive.c contents.c delete.c extract.c misc.c \
CFLAGS+=-I${.CURDIR} CFLAGS+=-I${.CURDIR}
MAN= ar.1aout ar.5 MAN= ar.1aout ar.5
BINDIR= /usr/libexec/aout BINDIR= /usr/libexec/aout
WARNS?= 4
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -79,9 +79,7 @@ static void usage(void);
* option parsing and sanity checking. * option parsing and sanity checking.
*/ */
int int
main(argc, argv) main(int argc, char **argv)
int argc;
char **argv;
{ {
int c; int c;
char *p; char *p;

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PROG= mklocale PROG= mklocale
WARNS?= 2 WARNS?= 4
SRCS= yacc.y lex.l y.tab.h SRCS= yacc.y lex.l y.tab.h
CFLAGS+= -I. -I${.CURDIR} CFLAGS+= -I. -I${.CURDIR}

View File

@ -201,9 +201,7 @@ int debug = 0;
FILE *fp; FILE *fp;
int int
main(ac, av) main(int ac, char *av[])
int ac;
char *av[];
{ {
int x; int x;

View File

@ -2,5 +2,6 @@
# $FreeBSD$ # $FreeBSD$
PROG= nohup PROG= nohup
WARNS?= 4
.include <bsd.prog.mk> .include <bsd.prog.mk>

View File

@ -71,9 +71,7 @@ static void usage(void);
#define EXIT_MISC 127 #define EXIT_MISC 127
int int
main(argc, argv) main(int argc, char *argv[])
int argc;
char *argv[];
{ {
int exit_status; int exit_status;
@ -98,7 +96,7 @@ main(argc, argv)
} }
static void static void
dofile() dofile(void)
{ {
int fd; int fd;
char path[MAXPATHLEN]; char path[MAXPATHLEN];
@ -132,7 +130,7 @@ dofile()
} }
static void static void
usage() usage(void)
{ {
(void)fprintf(stderr, "usage: nohup [--] utility [arguments]\n"); (void)fprintf(stderr, "usage: nohup [--] utility [arguments]\n");
exit(EXIT_MISC); exit(EXIT_MISC);