From 73f631edfa2c2bad3df0a9474e3535440fd01c43 Mon Sep 17 00:00:00 2001 From: David Malone Date: Mon, 3 Dec 2001 21:15:40 +0000 Subject: [PATCH] Warnc cleanups. Add FreeBSD IDs. --- usr.bin/printenv/Makefile | 2 ++ usr.bin/printenv/printenv.c | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/usr.bin/printenv/Makefile b/usr.bin/printenv/Makefile index 94975bd602e..b8fbd6a1cf1 100644 --- a/usr.bin/printenv/Makefile +++ b/usr.bin/printenv/Makefile @@ -1,6 +1,8 @@ +# $FreeBSD$ # @(#)Makefile 8.1 (Berkeley) 6/6/93 PROG= printenv MLINKS= printenv.1 env.1 +WARNS?= 2 .include diff --git a/usr.bin/printenv/printenv.c b/usr.bin/printenv/printenv.c index cf3383774ce..72722a36336 100644 --- a/usr.bin/printenv/printenv.c +++ b/usr.bin/printenv/printenv.c @@ -31,14 +31,18 @@ * SUCH DAMAGE. */ +#include + +__FBSDID("$FreeBSD$"); + #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 -static char sccsid[] = "@(#)printenv.c 8.2 (Berkeley) 5/4/95"; +static const char sccsid[] = "@(#)printenv.c 8.2 (Berkeley) 5/4/95"; #endif /* not lint */ #include