diff options
author | bde <bde@FreeBSD.org> | 1996-09-24 08:08:11 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-24 08:08:11 +0000 |
commit | d2512c2bf99a15faab2ee38b498042767afbfc50 (patch) | |
tree | a7dcc2bf16ed815097f05a03a82f3f704338c35d /sbin/badsect | |
parent | 1ba7894bc0e2cb3f9e9a098a97edce8d61d95f8f (diff) | |
download | FreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.zip FreeBSD-src-d2512c2bf99a15faab2ee38b498042767afbfc50.tar.gz |
Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
Diffstat (limited to 'sbin/badsect')
-rw-r--r-- | sbin/badsect/badsect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c index 01f8ea2..4526c1b 100644 --- a/sbin/badsect/badsect.c +++ b/sbin/badsect/badsect.c @@ -52,12 +52,12 @@ static const char sccsid[] = "@(#)badsect.c 8.1 (Berkeley) 6/5/93"; * does not support bad block forwarding. */ #include <sys/param.h> -#include <sys/dir.h> #include <sys/stat.h> #include <ufs/ffs/fs.h> #include <ufs/ufs/dinode.h> +#include <dirent.h> #include <fcntl.h> #include <paths.h> #include <stdio.h> @@ -92,7 +92,7 @@ main(argc, argv) daddr_t diskbn; daddr_t number; struct stat stbuf, devstat; - register struct direct *dp; + register struct dirent *dp; DIR *dirp; char name[2 * MAXPATHLEN]; char *name_dir_end; |