diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-21 22:58:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-21 22:58:23 +0000 |
commit | 01cad722667c7b25535b2d248598f3d535e7caa9 (patch) | |
tree | 606a2436a10d7d48fcbb3e1097500d8a0b8144d1 /io/sys/statvfs.h | |
parent | 28f1c862ddaa3515d0f74102379301048c76cf0f (diff) | |
download | glibc-01cad722667c7b25535b2d248598f3d535e7caa9.tar glibc-01cad722667c7b25535b2d248598f3d535e7caa9.tar.gz glibc-01cad722667c7b25535b2d248598f3d535e7caa9.tar.bz2 glibc-01cad722667c7b25535b2d248598f3d535e7caa9.zip |
Update.
1998-04-21 21:49 Zack Weinberg <zack@rabi.phys.columbia.edu>
* misc/sys/cdefs.h: New macro __REDIRECT to support changing the
asm symbol name of functions.
* include/features.h: Kill redundant test.
* dirent/dirent.h: Use new macros to implement __USE_FILE_OFFSET64.
* io/ftw.h: Likewise.
* io/sys/stat.h: Likewise.
* io/sys/statfs.h: Likewise.
* io/sys/statvfs.h: Likewise.
* libio/stdio.h: Likewise.
* resource/sys/resource.h: Likewise.
* rt/aio.h: Likewise.
* posix/unistd.h: Use new macros for __USE_FILE_OFFSET64 and
__FAVOR_BSD.
* signal/signal.h: Use new macros for BSD vs. SysV signal().
* misc/Makefile: Drop bsd-compat.c. Make libbsd-compat.a
a dummy library.
* misc/bsd-compat.c: Removed.
Diffstat (limited to 'io/sys/statvfs.h')
-rw-r--r-- | io/sys/statvfs.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/io/sys/statvfs.h b/io/sys/statvfs.h index 4da8e7c348..856d3c93ca 100644 --- a/io/sys/statvfs.h +++ b/io/sys/statvfs.h @@ -32,8 +32,13 @@ extern int __statvfs __P ((__const char *__file, struct statvfs *__buf)); #ifndef __USE_FILE_OFFSET64 extern int statvfs __P ((__const char *__file, struct statvfs *__buf)); #else -extern int statvfs __P ((__const char *__file, struct statvfs *__buf)) - __asm__ ("statvfs64"); +# ifdef __REDIRECT +extern int __REDIRECT (statvfs, + __P ((__const char *__file, struct statvfs *__buf)), + statvfs64); +# else +# define statfs statfs64 +# endif #endif #ifdef __USE_LARGEFILE64 extern int statvfs64 __P ((__const char *__file, struct statvfs64 *__buf)); @@ -45,8 +50,12 @@ extern int __fstatvfs __P ((int __fildes, struct statvfs *__buf)); #ifndef __USE_FILE_OFFSET64 extern int fstatvfs __P ((int __fildes, struct statvfs *__buf)); #else -extern int fstatvfs __P ((int __fildes, struct statvfs *__buf)) - __asm__ ("fstatvfs64"); +# ifdef __REDIRECT +extern int __REDIRECT (fstatvfs, __P ((int __fildes, struct statvfs *__buf)), + fstatvfs64); +# else +# define statfs statfs64 +# endif #endif #ifdef __USE_LARGEFILE64 extern int fstatvfs64 __P ((int __fildes, struct statvfs64 *__buf)); |