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/i386/sys/io.h | 1 + libc/sysdeps/linux/i386/sys/perm.h | 1 + 2 files changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/i386/sys') diff --git a/libc/sysdeps/linux/i386/sys/io.h b/libc/sysdeps/linux/i386/sys/io.h index 87b99a94a..00205e4cb 100644 --- a/libc/sysdeps/linux/i386/sys/io.h +++ b/libc/sysdeps/linux/i386/sys/io.h @@ -33,6 +33,7 @@ __BEGIN_DECLS E.g., Linux/Alpha for Alpha PCs supports this. */ extern int ioperm (unsigned long int __from, unsigned long int __num, int __turn_on) __THROW; +libc_hidden_proto(ioperm) /* Set the I/O privilege level to LEVEL. If LEVEL>3, permission to access any I/O port is granted. This call requires root diff --git a/libc/sysdeps/linux/i386/sys/perm.h b/libc/sysdeps/linux/i386/sys/perm.h index e389e6679..db67d36e0 100644 --- a/libc/sysdeps/linux/i386/sys/perm.h +++ b/libc/sysdeps/linux/i386/sys/perm.h @@ -26,6 +26,7 @@ __BEGIN_DECLS /* Set port input/output permissions. */ extern int ioperm (unsigned long int __from, unsigned long int __num, int __turn_on) __THROW; +libc_hidden_proto(ioperm) /* Change I/O privilege level. */ -- cgit v1.2.3