summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/nios
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/nios')
-rw-r--r--libc/sysdeps/linux/nios/bits/fcntl.h4
-rw-r--r--libc/sysdeps/linux/nios/bits/syscalls.h1
2 files changed, 4 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/nios/bits/fcntl.h b/libc/sysdeps/linux/nios/bits/fcntl.h
index b3e12f41e..1d7df4c81 100644
--- a/libc/sysdeps/linux/nios/bits/fcntl.h
+++ b/libc/sysdeps/linux/nios/bits/fcntl.h
@@ -196,13 +196,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);
@@ -219,6 +220,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
diff --git a/libc/sysdeps/linux/nios/bits/syscalls.h b/libc/sysdeps/linux/nios/bits/syscalls.h
index 21f4a370c..c2b6b9735 100644
--- a/libc/sysdeps/linux/nios/bits/syscalls.h
+++ b/libc/sysdeps/linux/nios/bits/syscalls.h
@@ -8,5 +8,6 @@
/* Do something very evil for now. Until we include our out syscall
* macros, short circuit bits/syscall.h and use asm/unistd.h instead */
#include <asm/unistd.h>
+
#endif /* _BITS_SYSCALLS_H */