diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 19:30:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-08-16 19:30:09 +0000 |
commit | b7c6bc8b74e2c574fd114ba8612c11f89ae83034 (patch) | |
tree | b1737541862dc05dffc22ab3612abfdcd95767bd /usr.bin | |
parent | e7d83953a02bf4067a6267751263cf95942aa121 (diff) |
main() returns an int and include stdio.h to get prototype for puts
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/yes/yes.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/yes/yes.c b/usr.bin/yes/yes.c index 7946c0706d5..79cde09abf8 100644 --- a/usr.bin/yes/yes.c +++ b/usr.bin/yes/yes.c @@ -1,4 +1,4 @@ -/* $OpenBSD: yes.c,v 1.2 1996/06/26 05:44:44 deraadt Exp $ */ +/* $OpenBSD: yes.c,v 1.3 1999/08/16 19:30:08 art Exp $ */ /* $NetBSD: yes.c,v 1.3 1994/11/14 04:56:15 jtc Exp $ */ /* @@ -44,9 +44,12 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)yes.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: yes.c,v 1.2 1996/06/26 05:44:44 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: yes.c,v 1.3 1999/08/16 19:30:08 art Exp $"; #endif /* not lint */ +#include <stdio.h> + +int main(argc, argv) int argc; char **argv; |