projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af7863c
)
(NOT_AN_INODE_NUMBER, D_INO): Move definitions to system.h
author
Jim Meyering
<jim@meyering.net>
Sun, 26 Feb 2006 10:02:49 +0000
(10:02 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sun, 26 Feb 2006 10:02:49 +0000
(10:02 +0000)
src/pwd.c
patch
|
blob
|
history
diff --git
a/src/pwd.c
b/src/pwd.c
index 8729990a519887b7c554040b8b9646094affdb89..9fd8515a4f1e17712719f1e4f4ec1dedb560f8c0 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;