From: Jim Meyering Date: Sun, 12 Mar 2006 21:59:55 +0000 (+0000) Subject: (SAME_INODE): Remove definition. X-Git-Tag: v6.0~614 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae28d0eb58c2b3e53bd5ed5466b9f457e9011da;p=thirdparty%2Fcoreutils.git (SAME_INODE): Remove definition. Include "same-inode.h", instead. --- diff --git a/lib/same.c b/lib/same.c index 4854b3a979..bd17866f7f 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. */