From 3a02e8508fa27598b1dc32dd39cc465769765e10 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 25 Oct 2005 02:18:46 +0000 Subject: uncomment posix_fadvise prototype since we implement it now --- include/fcntl.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include') 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 -- cgit v1.2.3