summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/modify_ldt.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/modify_ldt.c')
-rw-r--r--libc/sysdeps/linux/common/modify_ldt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/modify_ldt.c b/libc/sysdeps/linux/common/modify_ldt.c
index ff7fba4ce..9ebb68b3c 100644
--- a/libc/sysdeps/linux/common/modify_ldt.c
+++ b/libc/sysdeps/linux/common/modify_ldt.c
@@ -7,14 +7,9 @@
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-/* Nobody really uses this ... */
-#if 0
-
#include "syscalls.h"
-#ifdef __NR_modify_ldt
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);
#endif
-
-#endif