summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-25 02:18:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-25 02:18:46 +0000
commit3a02e8508fa27598b1dc32dd39cc465769765e10 (patch)
tree143c263f5613a8a8bdeeb7ddad8eb417ee6c4586
parent1cc0860dd18fc81e8daff3511b38cc31b0c88c4a (diff)
uncomment posix_fadvise prototype since we implement it now
-rw-r--r--include/fcntl.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/fcntl.h b/include/fcntl.h
index 2f2fb99dd..13392868d 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -133,10 +133,6 @@ extern int lockf64 (int __fd, int __cmd, __off64_t __len) __THROW;
#endif
-#if 0
-
-/* FIXME -- uClibc should probably implement these... */
-
#ifdef __USE_XOPEN2K
/* Advice the system about the expected behaviour of the application with
respect to the file associated with FD. */
@@ -157,6 +153,11 @@ extern int posix_fadvise64 (int __fd, __off64_t __offset, size_t __len,
int __advise) __THROW;
# endif
+#endif
+
+#if 0
+
+/* FIXME -- uClibc should probably implement these... */
/* Reserve storage for the data of the file associated with FD. */
# ifndef __USE_FILE_OFFSET64
@@ -174,7 +175,7 @@ extern int __REDIRECT (posix_fallocate, (int __fd, __off64_t __offset,
extern int posix_fallocate64 (int __fd, __off64_t __offset, size_t __len)
__THROW;
# endif
-#endif
+
#endif
__END_DECLS