From 6ae28d0eb58c2b3e53bd5ed5466b9f457e9011da Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 12 Mar 2006 21:59:55 +0000 Subject: [PATCH] (SAME_INODE): Remove definition. Include "same-inode.h", instead. --- lib/same.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. */ -- 2.47.2