aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-05-27 22:38:03 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-05-27 22:38:03 +0000
commit72741b445a7533bf5744ca8316f233d19c6cac21 (patch)
tree1e04a37df00c4f724bbb7a79d9df4f2792493917 /usr.bin
parentd2e7a6a46f29de248686645072540a4490f974e7 (diff)
downloadsrc-72741b445a7533bf5744ca8316f233d19c6cac21.tar.gz
src-72741b445a7533bf5744ca8316f233d19c6cac21.zip
Silence warnings.
Notes
Notes: svn path=/head/; revision=60987
Diffstat (limited to 'usr.bin')
-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 5e1edd6eaa79..80641aa3938f 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;