diff options
author | Jim Meyering <jim@meyering.net> | 2006-03-12 21:59:55 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-03-12 21:59:55 +0000 |
commit | 6ae28d0eb58c2b3e53bd5ed5466b9f457e9011da (patch) | |
tree | cdf77592aabd4e9469578fb1a16da55cd270b5d4 /lib | |
parent | 1ccf35a5e376233ed8f7d58b4481fcc8dcb2d226 (diff) | |
download | coreutils-6ae28d0eb58c2b3e53bd5ed5466b9f457e9011da.tar.xz |
(SAME_INODE): Remove definition.
Include "same-inode.h", instead.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/same.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/same.c b/lib/same.c index 4854b3a97..bd17866f7 100644 --- a/lib/same.c +++ b/lib/same.c @@ -1,6 +1,6 @@ /* Determine whether two file names refer to the same file. - Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005 Free + Copyright (C) 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -42,16 +42,13 @@ #include "same.h" #include "dirname.h" #include "error.h" +#include "same-inode.h" #include "xalloc.h" #ifndef MIN # define MIN(a, b) ((a) < (b) ? (a) : (b)) #endif -#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) - /* Return nonzero if SOURCE and DEST point to the same name in the same directory. */ |