summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-06-16 09:02:08 +0200
committerJim Meyering <meyering@redhat.com>2010-06-16 09:02:08 +0200
commit1bd7589f30dae2466d8febab5d6571e88cbb66fe (patch)
treecef35623a02b9dc6911fd5ea76e8592496862893
parent10d50d8e86e69ba2b183a404ea0782922970fbe5 (diff)
downloadidutils-1bd7589f30dae2466d8febab5d6571e88cbb66fe.tar.gz
idutils-1bd7589f30dae2466d8febab5d6571e88cbb66fe.tar.bz2
idutils-1bd7589f30dae2466d8febab5d6571e88cbb66fe.zip
build: remove now-unnecessary replacement lstat definition
* libidu/walker.c [! HAVE_LSTAT] (lstat): Remove definition. Gnulib already handles that.
-rw-r--r--libidu/walker.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libidu/walker.c b/libidu/walker.c
index d8f03d0..41785f4 100644
--- a/libidu/walker.c
+++ b/libidu/walker.c
@@ -82,14 +82,6 @@ static unsigned long dev_ino_hash_2 (void const *key);
static int dev_ino_hash_compare (void const *x, void const *y);
static int symlink_ancestry (struct file_link *flink);
-#ifndef HAVE_LSTAT
-#undef lstat
-int lstat(const char *filename, struct stat *sbuf)
-{
- return stat(filename, sbuf);
-}
-#endif /* !HAVE_LSTAT */
-
#if HAVE_LINK
static struct file_link *find_alias_link (struct file_link *flink,