Explorar el Código

tweak msync prototype to match header

Mike Frysinger hace 17 años
padre
commit
4b738bd4c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      libpthread/linuxthreads.old/wrapsyscall.c

+ 1 - 1
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