summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorart <art@openbsd.org>1999-08-16 19:30:08 +0000
committerart <art@openbsd.org>1999-08-16 19:30:08 +0000
commit94c485d289f18983fbd8c987d4dba40646cc94cd (patch)
treee0c97befdd2970f967b9eada5d189498542c31e3
parentslight cleanup (diff)
downloadwireguard-openbsd-94c485d289f18983fbd8c987d4dba40646cc94cd.tar.xz
wireguard-openbsd-94c485d289f18983fbd8c987d4dba40646cc94cd.zip
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;