From 1bd7589f30dae2466d8febab5d6571e88cbb66fe Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 16 Jun 2010 09:02:08 +0200 Subject: build: remove now-unnecessary replacement lstat definition * libidu/walker.c [! HAVE_LSTAT] (lstat): Remove definition. Gnulib already handles that. --- libidu/walker.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'libidu/walker.c') 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, -- cgit v1.2.3