summaryrefslogtreecommitdiff
path: root/src/pwd.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-02-26 10:02:49 +0000
committerJim Meyering <jim@meyering.net>2006-02-26 10:02:49 +0000
commit083f6ad61c8ad729440978aff0c2cd9b00aa6afb (patch)
tree6fd17233d706ef5eb8f471725c0429c80ecd5e4d /src/pwd.c
parentaf7863c36cd9dab92926d1e8818f9f20c6292428 (diff)
downloadcoreutils-083f6ad61c8ad729440978aff0c2cd9b00aa6afb.tar.xz
(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h
Diffstat (limited to 'src/pwd.c')
-rw-r--r--src/pwd.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/pwd.c b/src/pwd.c
index 8729990a5..9fd8515a4 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;