From 083f6ad61c8ad729440978aff0c2cd9b00aa6afb Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 26 Feb 2006 10:02:49 +0000 Subject: [PATCH] (NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h --- src/pwd.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/pwd.c b/src/pwd.c index 8729990a51..9fd8515a4f 100644 --- a/src/pwd.c +++ b/src/pwd.c @@ -40,18 +40,6 @@ struct file_name char *start; }; -enum -{ - NOT_AN_INODE_NUMBER = 0 -}; - -#ifdef D_INO_IN_DIRENT -# define D_INO(dp) ((dp)->d_ino) -#else -/* Some systems don't have inodes, so fake them to avoid lots of ifdefs. */ -# define D_INO(dp) NOT_AN_INODE_NUMBER -#endif - /* The name this program was run with. */ char *program_name; -- 2.47.3