diff options
author | kato <kato@FreeBSD.org> | 1998-05-04 04:41:23 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-05-04 04:41:23 +0000 |
commit | 0ef629725d39ae16b1f4223317d2a0864283646d (patch) | |
tree | b88fdf431705a9fbe2d5a459cea8e163d9d700a2 /sys | |
parent | 7ca8d65654a5ae05923da5a339c7bce607595efa (diff) | |
download | FreeBSD-src-0ef629725d39ae16b1f4223317d2a0864283646d.zip FreeBSD-src-0ef629725d39ae16b1f4223317d2a0864283646d.tar.gz |
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/epsonio.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/pc98/pc98/epsonio.h b/sys/pc98/pc98/epsonio.h index 64e7959..8139973 100644 --- a/sys/pc98/pc98/epsonio.h +++ b/sys/pc98/pc98/epsonio.h @@ -31,7 +31,7 @@ #include <machine/cpufunc.h> #include <machine/ipl.h> -static inline u_char +static __inline u_char epson_inb(u_int port) { u_char data; @@ -42,7 +42,7 @@ epson_inb(u_int port) return (data); } -static inline void +static __inline void epson_outb(u_int port, u_char data) { outb(0x43f, 0x42); @@ -50,7 +50,7 @@ epson_outb(u_int port, u_char data) outb(0x43f, 0x40); } -static inline void +static __inline void epson_insw(u_int port, void *addr, size_t cnt) { int s; @@ -63,7 +63,7 @@ epson_insw(u_int port, void *addr, size_t cnt) splx(s); } -static inline void +static __inline void epson_outsw(u_int port, void *addr, size_t cnt) { int s; |