From 935f368eab04eda2cb7ad8b480ec38c3a28ce378 Mon Sep 17 00:00:00 2001 From: dwmalone Date: Mon, 3 Dec 2001 21:15:40 +0000 Subject: 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 94975bd..b8fbd6a 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 cf33837..72722a3 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 -- cgit v1.1