From 335c4ab7c008713b8abb60a6c48b3246a6a8882b Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 20 Jun 2006 22:44:11 +0000 Subject: dont bother exporting modify_ldt() either --- libc/sysdeps/linux/common/modify_ldt.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common/modify_ldt.c') 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 -- cgit v1.2.3