diff options
author | obrien <obrien@FreeBSD.org> | 2003-05-01 16:58:57 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2003-05-01 16:58:57 +0000 |
commit | eaf3fff90a28f606675fd3c1610d0def28d6be67 (patch) | |
tree | 5b53acdbe128b941a338de518c3518890ac9a5ca /bin/sh | |
parent | 9f865e3f305382acb9ff15f7e8bcd92f244cfc48 (diff) | |
download | FreeBSD-src-eaf3fff90a28f606675fd3c1610d0def28d6be67.zip FreeBSD-src-eaf3fff90a28f606675fd3c1610d0def28d6be67.tar.gz |
Quiet warnings about copyright[].
Diffstat (limited to 'bin/sh')
-rw-r--r-- | bin/sh/arith.y | 4 | ||||
-rw-r--r-- | bin/sh/arith_lex.l | 4 | ||||
-rw-r--r-- | bin/sh/mknodes.c | 4 | ||||
-rw-r--r-- | bin/sh/mksyntax.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/bin/sh/arith.y b/bin/sh/arith.y index 8438e09..1ced626 100644 --- a/bin/sh/arith.y +++ b/bin/sh/arith.y @@ -93,9 +93,9 @@ expr: ARITH_LPAREN expr ARITH_RPAREN = { $$ = $2; } #if 0 static char sccsid[] = "@(#)arith.y 8.3 (Berkeley) 5/4/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "shell.h" #include "error.h" diff --git a/bin/sh/arith_lex.l b/bin/sh/arith_lex.l index e1ad222..6bbbfaf 100644 --- a/bin/sh/arith_lex.l +++ b/bin/sh/arith_lex.l @@ -39,9 +39,9 @@ #if 0 static char sccsid[] = "@(#)arith_lex.l 8.3 (Berkeley) 5/4/95"; #endif -static const char rcsid[] = - "$FreeBSD$"; #endif /* not lint */ +#include <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include "y.tab.h" #include "error.h" diff --git a/bin/sh/mknodes.c b/bin/sh/mknodes.c index 371ca16..d87179b 100644 --- a/bin/sh/mknodes.c +++ b/bin/sh/mknodes.c @@ -34,6 +34,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static char const copyright[] = "@(#) Copyright (c) 1991, 1993\n\ @@ -41,10 +42,9 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static char sccsid[] = "@(#)mknodes.c 8.2 (Berkeley) 5/4/95"; -#endif #endif /* not lint */ +#endif #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); diff --git a/bin/sh/mksyntax.c b/bin/sh/mksyntax.c index c44490e..d75b68a 100644 --- a/bin/sh/mksyntax.c +++ b/bin/sh/mksyntax.c @@ -34,6 +34,7 @@ * SUCH DAMAGE. */ +#if 0 #ifndef lint static char const copyright[] = "@(#) Copyright (c) 1991, 1993\n\ @@ -41,10 +42,9 @@ static char const copyright[] = #endif /* not lint */ #ifndef lint -#if 0 static char sccsid[] = "@(#)mksyntax.c 8.2 (Berkeley) 5/4/95"; -#endif #endif /* not lint */ +#endif #include <sys/cdefs.h> __FBSDID("$FreeBSD$"); |