summary refs log tree commit diff
path: root/bin/cash
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-01-10 20:40:53 -0500
committerJune McEnroe <june@causal.agency>2019-01-10 20:40:53 -0500
commit6a7ba5fd4d3c4a6ca9a6b138740e975fb27d6dc9 (patch)
treeb8f3e377bdcb184a15c85eb9a5971b04d8352901 /bin/cash
parentRemove cash/tests (diff)
downloadsrc-6a7ba5fd4d3c4a6ca9a6b138740e975fb27d6dc9.tar.gz
src-6a7ba5fd4d3c4a6ca9a6b138740e975fb27d6dc9.zip
Fix unused copyright and rcsid in cash
Diffstat (limited to '')
-rw-r--r--bin/cash/main.c6
-rw-r--r--bin/cash/printf.c4
2 files changed, 2 insertions, 8 deletions
diff --git a/bin/cash/main.c b/bin/cash/main.c
index 2687d1ef..c3b28173 100644
--- a/bin/cash/main.c
+++ b/bin/cash/main.c
@@ -33,12 +33,6 @@
  */
 
 #ifndef lint
-static char const copyright[] =
-"@(#) Copyright (c) 1991, 1993\n\
-	The Regents of the University of California.  All rights reserved.\n";
-#endif /* not lint */
-
-#ifndef lint
 #if 0
 static char sccsid[] = "@(#)main.c	8.6 (Berkeley) 5/28/95";
 #endif
diff --git a/bin/cash/printf.c b/bin/cash/printf.c
index ad2959ab..e698c417 100644
--- a/bin/cash/printf.c
+++ b/bin/cash/printf.c
@@ -48,8 +48,8 @@ static char const copyright[] =
 #if 0
 static char const sccsid[] = "@(#)printf.c	8.1 (Berkeley) 7/20/93";
 #endif
-static const char rcsid[] =
-  "$FreeBSD: releng/12.0/usr.bin/printf/printf.c 337618 2018-08-11 11:13:34Z jilles $";
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD: releng/12.0/usr.bin/printf/printf.c 337618 2018-08-11 11:13:34Z jilles $");
 #endif /* not lint */
 
 #include <sys/types.h>