summaryrefslogtreecommitdiffstats
path: root/usr.bin/yes
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-05-27 22:38:03 +0000
committerkris <kris@FreeBSD.org>2000-05-27 22:38:03 +0000
commitfe35a924a720b823b30fc22b937d50a57d0ca9d8 (patch)
treed8e7286dfd64cc8672d63255306aead6242d7d3e /usr.bin/yes
parentef06afc4d3ff22543bca89dfa684cf2280922c8c (diff)
downloadFreeBSD-src-fe35a924a720b823b30fc22b937d50a57d0ca9d8.zip
FreeBSD-src-fe35a924a720b823b30fc22b937d50a57d0ca9d8.tar.gz
Silence warnings.
Diffstat (limited to 'usr.bin/yes')
-rw-r--r--usr.bin/yes/yes.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr.bin/yes/yes.c b/usr.bin/yes/yes.c
index 5e1edd6..80641aa 100644
--- a/usr.bin/yes/yes.c
+++ b/usr.bin/yes/yes.c
@@ -32,15 +32,22 @@
*/
#ifndef lint
-static char copyright[] =
+static const char copyright[] =
"@(#) Copyright (c) 1987, 1993\n\
The Regents of the University of California. All rights reserved.\n";
#endif /* not lint */
#ifndef lint
+#if 0
static char sccsid[] = "@(#)yes.c 8.1 (Berkeley) 6/6/93";
+#else
+static const char rcsid[] = "$FreeBSD$";
+#endif
#endif /* not lint */
+#include <stdio.h>
+
+int
main(argc, argv)
int argc;
char **argv;
OpenPOWER on IntegriCloud