diff options
author | David Malone <dwmalone@FreeBSD.org> | 2002-02-27 14:40:09 +0000 |
---|---|---|
committer | David Malone <dwmalone@FreeBSD.org> | 2002-02-27 14:40:09 +0000 |
commit | 421dfbcfdd8808dca9404958e4be98161ae7a609 (patch) | |
tree | a76f12df79f7424c8076e850195452306eee4bc4 /usr.bin/write | |
parent | 29da6db8e231c4ad2fded80a23376cfbe8c15c42 (diff) | |
download | src-test-421dfbcfdd8808dca9404958e4be98161ae7a609.tar.gz src-test-421dfbcfdd8808dca9404958e4be98161ae7a609.zip |
1) Move FreeBSD tag to after vendor ID, #if 0 vendor ID.
2) Add missing include of stdlib.h for exit(), spotted by gcc3.
Notes
Notes:
svn path=/head/; revision=91378
Diffstat (limited to 'usr.bin/write')
-rw-r--r-- | usr.bin/write/write.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/usr.bin/write/write.c b/usr.bin/write/write.c index 247ff5c6286d2..bce0929477377 100644 --- a/usr.bin/write/write.c +++ b/usr.bin/write/write.c @@ -34,19 +34,20 @@ * SUCH DAMAGE. */ -#include <sys/cdefs.h> - -__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 <sys/cdefs.h> +__FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/signal.h> @@ -59,6 +60,7 @@ static const char sccsid[] = "@(#)write.c 8.1 (Berkeley) 6/6/93"; #include <paths.h> #include <pwd.h> #include <stdio.h> +#include <stdlib.h> #include <string.h> #include <unistd.h> #include <utmp.h> |