فهرست منبع

uncomment posix_fadvise prototype since we implement it now

Mike Frysinger 19 سال پیش
والد
کامیت
3a02e8508f
1فایلهای تغییر یافته به همراه6 افزوده شده و 5 حذف شده
  1. 6 5
      include/fcntl.h

+ 6 - 5
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