From cdf5408e1648b6cb9c742999435ede912bde90c5 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 30 Sep 1994 15:27:08 +0000 Subject: entered into RCS --- ufs/dir.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'ufs') 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) -- cgit v1.2.3