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
commit3b2d312677a1f004147180656094e98dc24f2aeb (patch)
tree8660990bfd3eac0a8a92b02e19287555eae9d72d /bin/cash
parentRemove cash/tests (diff)
downloadsrc-3b2d312677a1f004147180656094e98dc24f2aeb.tar.gz
src-3b2d312677a1f004147180656094e98dc24f2aeb.zip
Fix unused copyright and rcsid in cash
Diffstat (limited to 'bin/cash')
-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>