diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-25 12:59:13 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-09-25 12:59:13 +0000 |
commit | e64b6392143f7ee01b3ea867bf61647ef4e1d727 (patch) | |
tree | 81ca00385d852a4acdb45eb18f6f3d6a8284bd19 /libc/sysdeps/linux/i386/posix_fadvise.c | |
parent | 63a9972bedf9d59e2879ee190ff28210c21b1673 (diff) |
- fix !LFS case for i386
Diffstat (limited to 'libc/sysdeps/linux/i386/posix_fadvise.c')
-rw-r--r-- | libc/sysdeps/linux/i386/posix_fadvise.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/i386/posix_fadvise.c b/libc/sysdeps/linux/i386/posix_fadvise.c index 5406213b8..25373bcd5 100644 --- a/libc/sysdeps/linux/i386/posix_fadvise.c +++ b/libc/sysdeps/linux/i386/posix_fadvise.c @@ -13,11 +13,13 @@ #if defined __NR_fadvise64_64 || defined __NR_fadvise64 -libc_hidden_proto(posix_fadvise64) +extern int __libc_posix_fadvise64 (int, __off64_t, __off64_t, int ) __THROW; + +libc_hidden_proto(__libc_posix_fadvise64) libc_hidden_proto(posix_fadvise) int posix_fadvise(int fd, off_t offset, off_t len, int advice) { - if (posix_fadvise64(fd, offset, len, advice) != 0) + if (__libc_posix_fadvise64(fd, offset, len, advice) != 0) return errno; return 0; } |