(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h
authorJim Meyering <jim@meyering.net>
Sun, 26 Feb 2006 10:02:49 +0000 (10:02 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 26 Feb 2006 10:02:49 +0000 (10:02 +0000)
src/pwd.c

index 8729990..9fd8515 100644 (file)
--- 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;