about summary refs log tree commit diff
path: root/sysdeps/unix/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/fxstat.c')
-rw-r--r--sysdeps/unix/fxstat.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/fxstat.c b/sysdeps/unix/fxstat.c
index 4cc2864329..0081ee25d5 100644
--- a/sysdeps/unix/fxstat.c
+++ b/sysdeps/unix/fxstat.c
@@ -1,5 +1,5 @@
 /* fxstat using old-style Unix fstat system call.
-   Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1991,1995,1996,1997,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
@@ -24,6 +24,8 @@
 
 extern int __syscall_fstat (int, struct stat *__unbounded);
 
+#undef __fxstat
+
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -33,7 +35,8 @@ __fxstat (int vers, int fd, struct stat *buf)
       __set_errno (EINVAL);
       return -1;
     }
-  
+
   return __syscall_fstat (fd, CHECK_1 (buf));
 }
+INTDEF(__fxstat)
 weak_alias (__fxstat, _fxstat)