summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-08-16 19:30:09 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-08-16 19:30:09 +0000
commitb7c6bc8b74e2c574fd114ba8612c11f89ae83034 (patch)
treeb1737541862dc05dffc22ab3612abfdcd95767bd
parente7d83953a02bf4067a6267751263cf95942aa121 (diff)
main() returns an int and include stdio.h to get prototype for puts
-rw-r--r--usr.bin/yes/yes.c7
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;