From: Jim Meyering Date: Sun, 26 Feb 2006 10:02:49 +0000 (+0000) Subject: (NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h X-Git-Tag: v6.0~688 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=083f6ad61c8ad729440978aff0c2cd9b00aa6afb;p=thirdparty%2Fcoreutils.git (NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h --- 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;