]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
authorJim Meyering <jim@meyering.net>
Sun, 7 Sep 2003 17:33:42 +0000 (17:33 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 7 Sep 2003 17:33:42 +0000 (17:33 +0000)
Don't define.  These symbols are no longer used.

src/remove.c

index 7c79d10bfe6625783cd27f044fe117a4e4fdc439..387a27bd3f821c4d1349a839ef39b630ad3f5e42 100644 (file)
@@ -79,14 +79,6 @@ int rpl_lstat (const char *, struct stat *);
 # define lstat(Name, Stat_buf) rpl_lstat(Name, Stat_buf)
 #endif
 
-#ifdef D_INO_IN_DIRENT
-# define D_INO(dp) ((dp)->d_ino)
-# define ENABLE_CYCLE_CHECK
-#else
-/* Some systems don't have inodes, so fake them to avoid lots of ifdefs.  */
-# define D_INO(dp) 1
-#endif
-
 /* Initial capacity of per-directory hash table of entries that have
    been processed but not been deleted.  */
 #define HT_UNREMOVABLE_INITIAL_CAPACITY 13