From bbf84bb108beca2e014e93e76371b8fdb3336bf3 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 21 Nov 2008 11:15:58 +0000 Subject: fix ioperm build problems caused by libc_hidden_proto removal --- libc/sysdeps/linux/common/ioperm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/ioperm.c b/libc/sysdeps/linux/common/ioperm.c index 65414fccd..64fc6470f 100644 --- a/libc/sysdeps/linux/common/ioperm.c +++ b/libc/sysdeps/linux/common/ioperm.c @@ -8,8 +8,13 @@ */ #include + #if defined __ARCH_USE_MMU__ && defined __NR_ioperm + /* psm: can't #include , some archs miss it */ extern int ioperm(unsigned long __from, unsigned long __num, int __turn_on) __THROW; +libc_hidden_proto(ioperm) + _syscall3(int, ioperm, unsigned long, from, unsigned long, num, int, turn_on) + #endif -- cgit v1.2.3