aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-08-16 09:17:57 +0000
committerAndreas Jaeger <aj@suse.de>2003-08-16 09:17:57 +0000
commit4a4ac20bb6e65bea9a12d7d02d3d91995c73bf4e (patch)
treeaefa95188436ecaa1add00f00205980515e26ae7
parentf38afd7875ba05ee6f87799d6cbe3d8d799d2d18 (diff)
downloadglibc-4a4ac20bb6e65bea9a12d7d02d3d91995c73bf4e.tar
glibc-4a4ac20bb6e65bea9a12d7d02d3d91995c73bf4e.tar.gz
glibc-4a4ac20bb6e65bea9a12d7d02d3d91995c73bf4e.tar.bz2
glibc-4a4ac20bb6e65bea9a12d7d02d3d91995c73bf4e.zip
* sysdeps/generic/posix_fadvise.c (posix_fadvise): Adjust prototype.
* sysdeps/generic/posix_fadvise64.c (posix_fadvise64): Likewise. 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.
-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;