aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/lxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/lxstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/lxstat.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/lxstat.c b/sysdeps/unix/sysv/linux/lxstat.c
index 15824e09f5..9f92a191f1 100644
--- a/sysdeps/unix/sysv/linux/lxstat.c
+++ b/sysdeps/unix/sysv/linux/lxstat.c
@@ -1,5 +1,5 @@
/* lxstat using old-style Unix lstat system call.
- Copyright (C) 1991, 1995, 1996, 1997, 1998, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991,1995-1998,2000,2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,7 +32,10 @@
#include <xstatconv.c>
-extern int __syscall_lstat (const char *__unbounded, struct kernel_stat *__unbounded);
+#undef __lxstat
+
+extern int __syscall_lstat (const char *__unbounded,
+ struct kernel_stat *__unbounded);
/* Get information about the file NAME in BUF. */
int
@@ -52,8 +55,10 @@ __lxstat (int vers, const char *name, struct stat *buf)
return result;
}
+INTDEF(__lxstat)
weak_alias (__lxstat, _lxstat);
#ifdef XSTAT_IS_XSTAT64
#undef __lxstat64
+INTDEF(__lxstat64)
strong_alias (__lxstat, __lxstat64);
#endif