diff options
author | sheldonh <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 2001-07-26 11:02:39 +0000 |
commit | 9bfb9eedcddf3ab4e79532e863cf16c5ff381090 (patch) | |
tree | bd2ac2627dbeab7d3427432bb98d2c73085b61c1 /usr.bin/make/hash.c | |
parent | 505859f37d54f23b1ebc688851be182d4e1332c8 (diff) | |
download | FreeBSD-src-9bfb9eedcddf3ab4e79532e863cf16c5ff381090.zip FreeBSD-src-9bfb9eedcddf3ab4e79532e863cf16c5ff381090.tar.gz |
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
Diffstat (limited to 'usr.bin/make/hash.c')
-rw-r--r-- | usr.bin/make/hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/hash.c b/usr.bin/make/hash.c index 684f3a6..c063f45 100644 --- a/usr.bin/make/hash.c +++ b/usr.bin/make/hash.c @@ -50,6 +50,7 @@ __RCSID("$FreeBSD$"); * table. Hash tables grow automatically as the amount of * information increases. */ +#include <unistd.h> #include "sprite.h" #include "make.h" #include "hash.h" @@ -293,7 +294,7 @@ Hash_DeleteEntry(t, e) return; } } - (void) write(2, "bad call to Hash_DeleteEntry\n", 29); + (void) write(STDERR_FILENO, "bad call to Hash_DeleteEntry\n", 29); abort(); } |