Browse Source

dont bother exporting modify_ldt() either

Mike Frysinger 18 years ago
parent
commit
335c4ab7c0
1 changed files with 6 additions and 1 deletions
  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