]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(SAME_INODE): Remove definition.
authorJim Meyering <jim@meyering.net>
Sun, 12 Mar 2006 20:45:04 +0000 (20:45 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 12 Mar 2006 20:45:04 +0000 (20:45 +0000)
Include "same-inode.h", instead.

src/system.h

index c4534947a3ccd31c082c223afeecb5639248299d..09b94c13c76bafaabd378c7f795669c465dc8107 100644 (file)
@@ -551,10 +551,7 @@ uid_t getuid ();
 
 /* Include automatically-generated macros for unlocked I/O.  */
 #include "unlocked-io.h"
-
-#define SAME_INODE(Stat_buf_1, Stat_buf_2) \
-  ((Stat_buf_1).st_ino == (Stat_buf_2).st_ino \
-   && (Stat_buf_1).st_dev == (Stat_buf_2).st_dev)
+#include "same-inode.h"
 
 #define DOT_OR_DOTDOT(Basename) \
   (Basename[0] == '.' && (Basename[1] == '\0' \