summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/ia64/bits
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-08-24 21:15:57 +0000
committerMike Frysinger <vapier@gentoo.org>2006-08-24 21:15:57 +0000
commit442e988ff3a8c618a84628cfe30c81c2965cbfa4 (patch)
treee0b353df81c6c9486300b1bc2d5baa1841155314 /libc/sysdeps/linux/ia64/bits
parent27128f302fbb564e9d48770568612185e2c9f06b (diff)
fix from psm: enable readahead prototype
Diffstat (limited to 'libc/sysdeps/linux/ia64/bits')
-rw-r--r--libc/sysdeps/linux/ia64/bits/fcntl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/ia64/bits/fcntl.h b/libc/sysdeps/linux/ia64/bits/fcntl.h
index 46b38937d..e7e7c3039 100644
--- a/libc/sysdeps/linux/ia64/bits/fcntl.h
+++ b/libc/sysdeps/linux/ia64/bits/fcntl.h
@@ -192,13 +192,14 @@ struct flock64
__BEGIN_DECLS
-#if 0 /*def __USE_GNU*/
+#ifdef __USE_GNU
/* Provide kernel hint to read ahead. */
extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
__THROW;
+#if 0
/* Selective file content synch'ing. */
extern int sync_file_range (int __fd, __off64_t __from, __off64_t __to,
unsigned int __flags);
@@ -215,6 +216,7 @@ extern int splice (int __fdin, int __fdout, size_t __len, unsigned int __flags)
/* In-kernel implementation of tee for pipe buffers. */
extern int tee (int __fdin, int __fdout, size_t __len, unsigned int __flags)
__THROW;
+#endif
#endif