summaryrefslogtreecommitdiff
path: root/ufs/dir.h
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-09-30 15:27:08 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-09-30 15:27:08 +0000
commitcdf5408e1648b6cb9c742999435ede912bde90c5 (patch)
tree04eacefa9682812aa69026f3a9635e66eed425af /ufs/dir.h
parent51c37db02693e2d308ad0c55a27ffd81e25f100e (diff)
entered into RCS
Diffstat (limited to 'ufs/dir.h')
-rw-r--r--ufs/dir.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ufs/dir.h b/ufs/dir.h
index c6535342..193e167b 100644
--- a/ufs/dir.h
+++ b/ufs/dir.h
@@ -83,24 +83,6 @@ struct directory_entry {
char d_name[MAXNAMLEN + 1]; /* name with length <= MAXNAMLEN */
};
-/*
- * File types
- */
-#define DT_UNKNOWN 0
-#define DT_FIFO 1
-#define DT_CHR 2
-#define DT_DIR 4
-#define DT_BLK 6
-#define DT_REG 8
-#define DT_LNK 10
-#define DT_SOCK 12
-
-/*
- * Convert between stat structure types and directory types.
- */
-#define IFTODT(mode) (((mode) & 0170000) >> 12)
-#define DTTOIF(dirtype) ((dirtype) << 12)
-
/* Return the type from a struct directory_entry, paying attention to whether
this filesystem supports the type extension */
#define DIRECT_TYPE(dp) (direct_symlink_extension ? (dp)->d_type : DT_UNKNOWN)