From 4b738bd4c1e0e21b08055ebcb2af5d7385f478c4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 29 Jun 2007 08:19:22 +0000 Subject: tweak msync prototype to match header --- libpthread/linuxthreads.old/wrapsyscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpthread') diff --git a/libpthread/linuxthreads.old/wrapsyscall.c b/libpthread/linuxthreads.old/wrapsyscall.c index 684989be0..c1ddcb8fe 100644 --- a/libpthread/linuxthreads.old/wrapsyscall.c +++ b/libpthread/linuxthreads.old/wrapsyscall.c @@ -98,7 +98,7 @@ CANCELABLE_SYSCALL (off64_t, lseek64, (int fd, off64_t offset, int whence), #ifdef __NR_msync /* msync(2). */ -CANCELABLE_SYSCALL (int, msync, (__ptr_t addr, size_t length, int flags), +CANCELABLE_SYSCALL (int, msync, (void *addr, size_t length, int flags), (addr, length, flags)) #endif -- cgit v1.2.3