This commit is contained in:
Alfred Perlstein 2002-07-14 18:23:22 +00:00
parent d183dcb670
commit da8de1e204
8 changed files with 10 additions and 13 deletions

View File

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

View File

@ -258,7 +258,7 @@ exec_shell(const char *command, char *use_shell, char *use_name)
}
void
usage()
usage(void)
{
(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}
MAN= ar.1aout ar.5
BINDIR= /usr/libexec/aout
WARNS?= 4
.include <bsd.prog.mk>

View File

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

View File

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

View File

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

View File

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

View File

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