Style fixes and WARNS.

This commit is contained in:
jld 2005-11-18 22:16:49 +00:00
parent 4d1d9eb828
commit 10e1da626c
2 changed files with 6 additions and 8 deletions

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $NetBSD: Makefile,v 1.3 1994/11/14 04:56:13 jtc Exp $
# $NetBSD: Makefile,v 1.4 2005/11/18 22:16:49 jld Exp $
PROG= yes
WARNS= 4
.include <bsd.prog.mk>

View File

@ -1,4 +1,4 @@
/* $NetBSD: yes.c,v 1.6 2003/08/07 11:17:56 agc Exp $ */
/* $NetBSD: yes.c,v 1.7 2005/11/18 22:16:49 jld Exp $ */
/*
* Copyright (c) 1987, 1993
@ -39,18 +39,15 @@ __COPYRIGHT("@(#) Copyright (c) 1987, 1993\n\
#if 0
static char sccsid[] = "@(#)yes.c 8.1 (Berkeley) 6/6/93";
#endif
__RCSID("$NetBSD: yes.c,v 1.6 2003/08/07 11:17:56 agc Exp $");
__RCSID("$NetBSD: yes.c,v 1.7 2005/11/18 22:16:49 jld Exp $");
#endif /* not lint */
#include <stdio.h>
int main __P((int, char **));
int
main(argc, argv)
int argc;
char **argv;
main(int argc, char **argv)
{
if (argc > 1)
for(;;)
(void)puts(argv[1]);