summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-20 22:44:11 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-20 22:44:11 +0000
commit335c4ab7c008713b8abb60a6c48b3246a6a8882b (patch)
tree97a2d74837e6d63bf62d164917096a60f9fdb565
parente4d45e3772b44ea15f5bc88defacea9c9c06c90e (diff)
downloaduClibc-alpine-335c4ab7c008713b8abb60a6c48b3246a6a8882b.tar.bz2
uClibc-alpine-335c4ab7c008713b8abb60a6c48b3246a6a8882b.tar.xz
dont bother exporting modify_ldt() either
-rw-r--r--libc/sysdeps/linux/common/modify_ldt.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/modify_ldt.c b/libc/sysdeps/linux/common/modify_ldt.c
index 9ebb68b3c..ff7fba4ce 100644
--- a/libc/sysdeps/linux/common/modify_ldt.c
+++ b/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