From af004a8a8f4285514444059307463c25712fd7ee Mon Sep 17 00:00:00 2001 From: dwmalone Date: Wed, 27 Feb 2002 14:40:09 +0000 Subject: 1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID. 2) Add missing include of stdlib.h for exit(), spotted by gcc3. --- usr.bin/write/write.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'usr.bin/write/write.c') diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 247ff5c..bce0929 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -34,19 +34,20 @@ * SUCH DAMAGE. */ -#include - -__FBSDID("$FreeBSD$"); - #ifndef lint static const char copyright[] = "@(#) Copyright (c) 1989, 1993\n\ The Regents of the University of California. All rights reserved.\n"; #endif +#if 0 #ifndef lint -static const char sccsid[] = "@(#)write.c 8.1 (Berkeley) 6/6/93"; +static char sccsid[] = "@(#)write.c 8.1 (Berkeley) 6/6/93"; #endif +#endif + +#include +__FBSDID("$FreeBSD$"); #include #include @@ -59,6 +60,7 @@ static const char sccsid[] = "@(#)write.c 8.1 (Berkeley) 6/6/93"; #include #include #include +#include #include #include #include -- cgit v1.1