From 0fb1c461bdc864ad78c6b0bb294096c1b9d96790 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 23 Jan 2000 08:59:22 +0000 Subject: [PATCH] Add prototypes for port access functions. --- sysdeps/unix/sysv/linux/alpha/sys/io.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/alpha/sys/io.h b/sysdeps/unix/sysv/linux/alpha/sys/io.h index 08dd10637ed..ef22c4511e5 100644 --- a/sysdeps/unix/sysv/linux/alpha/sys/io.h +++ b/sysdeps/unix/sysv/linux/alpha/sys/io.h @@ -17,8 +17,8 @@ Boston, MA 02111-1307, USA. */ #ifndef _SYS_IO_H - #define _SYS_IO_H 1 + #include __BEGIN_DECLS @@ -63,6 +63,13 @@ extern int pciconfig_write __P ((unsigned long int __bus, unsigned long int __off, unsigned long int __len, unsigned char *__buf)); +/* Userspace declarations. */ +extern unsigned int inb __P ((unsigned long __port)); +extern unsigned int inw __P ((unsigned long __port)); +extern unsigned int inl __P ((unsigned long __port)); +extern void outb __P ((unsigned char __b, unsigned long __port)); +extern void outw __P ((unsigned short __w, unsigned long __port)); +extern void outl __P ((unsigned int __l, unsigned long __port)); __END_DECLS -- 2.47.2