[uClibc-cvs] uClibc/libc/sysdeps/linux/common modify_ldt.c,1.1,1.2

Erik Andersen andersen at uclibc.org
Fri Jan 30 22:09:40 UTC 2004


Update of /var/cvs/uClibc/libc/sysdeps/linux/common
In directory nail:/home/andersen/CVS/uClibc/libc/sysdeps/linux/common

Modified Files:
	modify_ldt.c 
Log Message:
Andrew May writes:

Here are some simple fixes for things that broke for PPC with
the recent syscall cleanup. I am not sure they are correct but
they seem pretty trivial.



Index: modify_ldt.c
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/common/modify_ldt.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- modify_ldt.c	21 Jan 2004 23:27:40 -0000	1.1
+++ modify_ldt.c	30 Jan 2004 22:09:38 -0000	1.2
@@ -8,6 +8,8 @@
  */
 
 #include "syscalls.h"
-_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount);
 
+#ifdef __NR_modify_ldt
+_syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount);
 weak_alias(modify_ldt, __modify_ldt);
+#endif




More information about the uClibc-cvs mailing list