summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-08-22 18:11:32 +0000
committerUlrich Drepper <drepper@redhat.com>2003-08-22 18:11:32 +0000
commit089d05d5c2271fe619f5967e01c97d169b165947 (patch)
tree54af9ed3937aaffc4437aca64447da1a9939e22c /io
parent87865838da97993a22a4414d29b6b90f5e750970 (diff)
downloadglibc-089d05d5c2271fe619f5967e01c97d169b165947.tar.gz
glibc-089d05d5c2271fe619f5967e01c97d169b165947.tar.xz
glibc-089d05d5c2271fe619f5967e01c97d169b165947.zip
Update.
2003-08-22  Ulrich Drepper  <drepper@redhat.com>

	* io/fcntl.h (posix_fallocate): Change type of third parameter to
	off_t.
	(posix_fallocate64): Change type of third parameter to off64_t.
	* sysdeps/generic/posix_fallocate.c: Adjust for type change.
	* sysdeps/posix/posix_fallocate.c: Likewise.
	* sysdeps/generic/posix_fallocate64.c: Likewise.
	* sysdeps/posix/posix_fallocate64.c: Likewise.  Add compatibility
	code for 32-bit platforms.
	* sysdeps/unix/sysv/linux/i386/Versions: Add new version for
	posix_fallocate64.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
Diffstat (limited to 'io')
-rw-r--r--io/fcntl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/io/fcntl.h b/io/fcntl.h
index 97ef27b735..d702368b30 100644
--- a/io/fcntl.h
+++ b/io/fcntl.h
@@ -156,18 +156,18 @@ extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
    This function is a possible cancellation points and therefore not
    marked with __THROW.  */
 # ifndef __USE_FILE_OFFSET64
-extern int posix_fallocate (int __fd, __off_t __offset, size_t __len);
+extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
 # else
 # ifdef __REDIRECT
 extern int __REDIRECT (posix_fallocate, (int __fd, __off64_t __offset,
-					 size_t __len),
+					 __off64_t __len),
 		       posix_fallocate64);
 # else
 #  define posix_fallocate posix_fallocate64
 # endif
 # endif
 # ifdef __USE_LARGEFILE64
-extern int posix_fallocate64 (int __fd, __off64_t __offset, size_t __len);
+extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
 # endif
 #endif