about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/generic/posix_fadvise.c4
-rw-r--r--sysdeps/generic/posix_fadvise64.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index f2bc208ec7..acc25e7c68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-08-16  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
+	* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise.
+
 2003-08-15  Ulrich Drepper  <drepper@redhat.com>
 
 	* io/fcntl.h (posix_fadvise64): Change type of third parameter to
diff --git a/sysdeps/generic/posix_fadvise.c b/sysdeps/generic/posix_fadvise.c
index 83847a900a..65e2cc4c2c 100644
--- a/sysdeps/generic/posix_fadvise.c
+++ b/sysdeps/generic/posix_fadvise.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
    respect to the file associated with FD.  */
 
 int
-posix_fadvise (int fd, __off_t offset, size_t len, int advise)
+posix_fadvise (int fd, __off_t offset, __off_t len, int advise)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/sysdeps/generic/posix_fadvise64.c b/sysdeps/generic/posix_fadvise64.c
index d866a49501..44efd3587b 100644
--- a/sysdeps/generic/posix_fadvise64.c
+++ b/sysdeps/generic/posix_fadvise64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2000 Free Software Foundation, Inc.
+/* Copyright (C) 2000, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,7 +23,7 @@
    respect to the file associated with FD.  */
 
 int
-posix_fadvise64 (int fd, __off64_t offset, size_t len, int advise)
+posix_fadvise64 (int fd, __off64_t offset, __off64_t len, int advise)
 {
   __set_errno (ENOSYS);
   return -1;