about summary refs log tree commit diff
path: root/sysdeps/generic/lxstat64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/lxstat64.c')
-rw-r--r--sysdeps/generic/lxstat64.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/generic/lxstat64.c b/sysdeps/generic/lxstat64.c
index 03fd9fda97..8eb457dc07 100644
--- a/sysdeps/generic/lxstat64.c
+++ b/sysdeps/generic/lxstat64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -20,6 +20,8 @@
 #include <stddef.h>
 #include <sys/stat.h>
 
+#undef __lxstat64
+
 /* Get file information about FILE in BUF.
    If FILE is a symbolic link, do not follow it.  */
 int
@@ -34,5 +36,6 @@ __lxstat64 (int vers, const char *file, struct stat64 *buf)
   __set_errno (ENOSYS);
   return -1;
 }
-stub_warning (lstat64)
+INTDEF(__lxstat64)
+stub_warning (__lxstat64)
 #include <stub-tag.h>