[uClibc-cvs] uClibc/libc/sysdeps/linux/common syscalls.c,1.105,1.106

Erik Andersen andersen at uclibc.org
Fri Jun 27 07:36:47 UTC 2003


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory winder:/tmp/cvs-serv24294

Modified Files:
	syscalls.c 
Log Message:
Add missing madvise syscall


Index: syscalls.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/syscalls.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- syscalls.c	8 May 2003 02:36:12 -0000	1.105
+++ syscalls.c	27 Jun 2003 07:36:43 -0000	1.106
@@ -1995,6 +1995,12 @@
 
 //#define __NR_mincore		218
 //#define __NR_madvise		219
+#ifdef __NR_madvise
+#ifdef L_madvise
+_syscall3(int, madvise, void*, __addr, size_t, __len, int, __advice);
+#endif
+#endif
+
 //#define __NR_madvise1		219	/* delete when C lib stub is removed */
 
 //#define __NR_getdents64		220



More information about the uClibc-cvs mailing list