diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-17 00:33:09 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-17 00:33:09 +0000 |
commit | f065a05b69f6438b5e49335ea7b302efee30fafc (patch) | |
tree | 66f1a71779a3faafb790e14894a19f19b92c9af7 /sysdeps/unix/sysv/linux/powerpc | |
parent | de4bd084451669984bacbf75bfae467a5ffdf541 (diff) | |
download | glibc-f065a05b69f6438b5e49335ea7b302efee30fafc.zip glibc-f065a05b69f6438b5e49335ea7b302efee30fafc.tar.gz glibc-f065a05b69f6438b5e49335ea7b302efee30fafc.tar.bz2 |
Update.
* sysdeps/unix/sysv/linux/powerpc/mmap64.c: Correct prototype for
__syscall_mmap2.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/mmap64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/mmap64.c b/sysdeps/unix/sysv/linux/powerpc/mmap64.c index 590d92e..e081b76 100644 --- a/sysdeps/unix/sysv/linux/powerpc/mmap64.c +++ b/sysdeps/unix/sysv/linux/powerpc/mmap64.c @@ -30,7 +30,7 @@ #include "kernel-features.h" #ifdef __NR_mmap2 -extern int __syscall_mmap2(__ptr_t, size_t, int, int, int, off_t); +extern __ptr_t __syscall_mmap2(__ptr_t, size_t, int, int, int, off_t); #ifndef __ASSUME_MMAP2_SYSCALL static int have_no_mmap2; #endif @@ -51,7 +51,7 @@ __mmap64 (__ptr_t addr, size_t len, int prot, int flags, int fd, off64_t offset) #endif /* This will be always 12, no matter what page size is. */ __ptr_t result = INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags, - fd, (off_t) (offset >> PAGE_SHIFT)); + fd, (off_t) (offset >> PAGE_SHIFT)); #ifndef __ASSUME_MMAP2_SYSCALL if (result != (__ptr_t) -1 || errno != ENOSYS) |