浏览代码

Use __off64_t instead of off64_t.

Miles Bader 23 年之前
父节点
当前提交
538aa2d871
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      libc/sysdeps/linux/common/mmap64.c

+ 2 - 2
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.
    This file is part of the GNU C Library.
    Contributed by Daniel Jacobowitz <dan@debian.org>, 1999.
    Contributed by Daniel Jacobowitz <dan@debian.org>, 1999.
 
 
@@ -38,7 +38,7 @@
 #endif
 #endif
 
 
 #undef	creat
 #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))
     if (offset != (off_t) offset || (offset + len) != (off_t) (offset + len))
     {
     {