diff options
author | asmodai <asmodai@FreeBSD.org> | 2000-12-02 19:10:12 +0000 |
---|---|---|
committer | asmodai <asmodai@FreeBSD.org> | 2000-12-02 19:10:12 +0000 |
commit | 85f201535ec7876eb3e31db14ab28d2fad68a842 (patch) | |
tree | a74ac15a66e335e459cf85b90b8d4fba3b386209 /usr.bin/tail | |
parent | 797262c9e92824a19005f56e85cd3f19b8273f9b (diff) | |
download | FreeBSD-src-85f201535ec7876eb3e31db14ab28d2fad68a842.zip FreeBSD-src-85f201535ec7876eb3e31db14ab28d2fad68a842.tar.gz |
Properly constify some static arrays.
Also #if out some sccsid's and add rcsid's.
Diffstat (limited to 'usr.bin/tail')
-rw-r--r-- | usr.bin/tail/forward.c | 6 | ||||
-rw-r--r-- | usr.bin/tail/misc.c | 4 | ||||
-rw-r--r-- | usr.bin/tail/read.c | 4 | ||||
-rw-r--r-- | usr.bin/tail/tail.c | 6 |
4 files changed, 17 insertions, 3 deletions
diff --git a/usr.bin/tail/forward.c b/usr.bin/tail/forward.c index a864edd..6a14351 100644 --- a/usr.bin/tail/forward.c +++ b/usr.bin/tail/forward.c @@ -32,12 +32,14 @@ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. - * - * $FreeBSD$ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)forward.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/tail/misc.c b/usr.bin/tail/misc.c index 8891819..c4edfc3 100644 --- a/usr.bin/tail/misc.c +++ b/usr.bin/tail/misc.c @@ -35,7 +35,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/tail/read.c b/usr.bin/tail/read.c index feecf3c..771191c 100644 --- a/usr.bin/tail/read.c +++ b/usr.bin/tail/read.c @@ -35,7 +35,11 @@ */ #ifndef lint +#if 0 static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c index 416d441..88078cb 100644 --- a/usr.bin/tail/tail.c +++ b/usr.bin/tail/tail.c @@ -35,13 +35,17 @@ */ #ifndef lint -static char copyright[] = +static const char 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[] = "@(#)tail.c 8.1 (Berkeley) 6/6/93"; +#endif +static const char rcsid[] = + "$FreeBSD$"; #endif /* not lint */ #include <sys/types.h> |