summaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/lxstat.c (renamed from sysdeps/generic/lstat.c)12
1 files changed, 4 insertions, 8 deletions
diff --git a/sysdeps/generic/lstat.c b/sysdeps/generic/lxstat.c
index 44fafa6f4d..cf28fee5ad 100644
--- a/sysdeps/generic/lstat.c
+++ b/sysdeps/generic/lxstat.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1996 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
@@ -16,16 +16,12 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <ansidecl.h>
-#include <errno.h>
-#include <stddef.h>
#include <sys/stat.h>
int
-DEFUN(__lstat, (file, buf),
- CONST char *file AND struct stat *buf)
+__lxstat (int version, const char *file, struct stat *buf)
{
- return __stat (file, buf);
+ return __xstat (version, file, buf);
}
-weak_alias (__lstat, lstat)
+weak_alias (__lxstat, _lxstat)