summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMiles Bader <miles@lsi.nec.co.jp>2002-04-25 07:18:12 +0000
committerMiles Bader <miles@lsi.nec.co.jp>2002-04-25 07:18:12 +0000
commit538aa2d8716fae77b9d613a59438d477ff8580ac (patch)
tree94b2bdadd2d1c478635119211d4f554d2a288ee1 /libc/sysdeps/linux
parent14efb6d73e80201aa866c7a6795c370079c232ce (diff)
Use __off64_t instead of off64_t.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/mmap64.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c
index fba0eb6f8..33a4f404a 100644
--- a/libc/sysdeps/linux/common/mmap64.c
+++ b/libc/sysdeps/linux/common/mmap64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Daniel Jacobowitz <dan@debian.org>, 1999.
@@ -38,7 +38,7 @@
#endif
#undef creat
-__ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, off64_t offset)
+__ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t offset)
{
if (offset != (off_t) offset || (offset + len) != (off_t) (offset + len))
{