OSDN Git Service

uncomment posix_fadvise prototype since we implement it now
authorMike Frysinger <vapier@gentoo.org>
Tue, 25 Oct 2005 02:18:46 +0000 (02:18 -0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 25 Oct 2005 02:18:46 +0000 (02:18 -0000)
include/fcntl.h

index 2f2fb99..1339286 100644 (file)
@@ -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