about summary refs log tree commit diff
path: root/sysdeps/generic/fxstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/fxstat.c')
-rw-r--r--sysdeps/generic/fxstat.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/fxstat.c b/sysdeps/generic/fxstat.c
index 978b40a338..6bff431dee 100644
--- a/sysdeps/generic/fxstat.c
+++ b/sysdeps/generic/fxstat.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 __fxstat
+
 /* Get information about the file descriptor FD in BUF.  */
 int
 __fxstat (int vers, int fd, struct stat *buf)
@@ -46,5 +48,6 @@ __fxstat (int vers, int fd, struct stat *buf)
 }
 stub_warning (fstat)
 
+INTDEF(__fxstat)
 weak_alias (__fxstat, _fxstat)
 #include <stub-tag.h>