svn commit: trunk/uClibc/libc/sysdeps/linux/common

carmelo at uclibc.org carmelo at uclibc.org
Tue Apr 1 16:07:08 UTC 2008


Author: carmelo
Date: 2008-04-01 09:07:06 -0700 (Tue, 01 Apr 2008)
New Revision: 21613

Log:
Fix remap_file_pages prototype and use mman.h header

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c	2008-04-01 15:29:03 UTC (rev 21612)
+++ trunk/uClibc/libc/sysdeps/linux/common/remap_file_pages.c	2008-04-01 16:07:06 UTC (rev 21613)
@@ -5,12 +5,12 @@
  *
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
-
+#include <sys/mman.h>
 #include <sys/syscall.h>
 
 #ifdef __NR_remap_file_pages
 
-_syscall5(int, remap_file_pages, unsigned long, start, unsigned long, size,
-	  unsigned long, prot, unsigned long, pgoff, unsigned long, flags);
+_syscall5(int, remap_file_pages, void *, __start, size_t, __size,
+			int, __prot, size_t, __pgoff, int, __flags);
 
 #endif




More information about the uClibc-cvs mailing list