From b7c6bc8b74e2c574fd114ba8612c11f89ae83034 Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 16 Aug 1999 19:30:09 +0000 Subject: main() returns an int and include stdio.h to get prototype for puts --- usr.bin/yes/yes.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'usr.bin') 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 + +int main(argc, argv) int argc; char **argv; -- cgit v1.2.3