summaryrefslogtreecommitdiff
path: root/ufs/dir.h
diff options
context:
space:
mode:
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)