diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-25 12:41:25 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-25 12:41:25 +0000 |
commit | c3a5b68a5f054d4d55a2f7e78cef26021cddbe40 (patch) | |
tree | 7026163fe05ef4399e0b694bf43afabdef43d4a2 /include/fcntl.h | |
parent | 3a02e8508fa27598b1dc32dd39cc465769765e10 (diff) |
Correcrt posix_fadvise* to allow compiling
Diffstat (limited to 'include/fcntl.h')
-rw-r--r-- | include/fcntl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index 13392868d..6277a241a 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -137,19 +137,19 @@ extern int lockf64 (int __fd, int __cmd, __off64_t __len) __THROW; /* Advice the system about the expected behaviour of the application with respect to the file associated with FD. */ # ifndef __USE_FILE_OFFSET64 -extern int posix_fadvise (int __fd, __off_t __offset, size_t __len, +extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, int __advise) __THROW; # else # ifdef __REDIRECT extern int __REDIRECT (posix_fadvise, (int __fd, __off64_t __offset, - size_t __len, int __advise) __THROW, + __off64_t __len, int __advise) __THROW, posix_fadvise64); # else # define posix_fadvise posix_fadvise64 # endif # endif # ifdef __USE_LARGEFILE64 -extern int posix_fadvise64 (int __fd, __off64_t __offset, size_t __len, +extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, int __advise) __THROW; # endif |