diff options
author | imp <imp@FreeBSD.org> | 2000-04-14 06:15:01 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2000-04-14 06:15:01 +0000 |
commit | 7fec3d2787608459e561d33aa2c5f4370c7eb11f (patch) | |
tree | dcaa461be797396514a3cad83c83a102b6255162 /sbin/dump/traverse.c | |
parent | 212803777e16b9fe9d5c92e839ece868ac93b66b (diff) | |
download | FreeBSD-src-7fec3d2787608459e561d33aa2c5f4370c7eb11f.zip FreeBSD-src-7fec3d2787608459e561d33aa2c5f4370c7eb11f.tar.gz |
Add include of errno.h where needed, remove extern int errno where not.
These commits were inspired by a similar commit to netbsd.
Diffstat (limited to 'sbin/dump/traverse.c')
-rw-r--r-- | sbin/dump/traverse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/traverse.c b/sbin/dump/traverse.c index 18eec04..f52413c 100644 --- a/sbin/dump/traverse.c +++ b/sbin/dump/traverse.c @@ -58,6 +58,7 @@ static const char rcsid[] = #include <ctype.h> #include <stdio.h> #ifdef __STDC__ +#include <errno.h> #include <string.h> #include <unistd.h> #endif @@ -553,7 +554,6 @@ bread(blkno, buf, size) int size; { int cnt, i; - extern int errno; loop: if (lseek(diskfd, ((off_t)blkno << dev_bshift), 0) != |