Explorar o código

dont bother exporting modify_ldt() either

Mike Frysinger %!s(int64=18) %!d(string=hai) anos
pai
achega
335c4ab7c0
Modificáronse 1 ficheiros con 6 adicións e 1 borrados
  1. 6 1
      libc/sysdeps/linux/common/modify_ldt.c

+ 6 - 1
libc/sysdeps/linux/common/modify_ldt.c

@@ -7,9 +7,14 @@
  * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
+/* Nobody really uses this ... */
+#if 0
+
 #include "syscalls.h"
 
-int modify_ldt (int func, void *ptr, unsigned long bytecount);
 #ifdef __NR_modify_ldt
+int modify_ldt (int func, void *ptr, unsigned long bytecount);
 _syscall3(int, modify_ldt, int, func, void *, ptr, unsigned long, bytecount);
 #endif
+
+#endif