summaryrefslogtreecommitdiff
path: root/sys/arch/amiga/dev
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-17 15:55:53 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-04-17 15:55:53 +0000
commitf5522ad316146ed0a5c6789cec62fddea3a4838a (patch)
tree3f7fcb07403508fb446fe8bade6c3abafbdc4bdd /sys/arch/amiga/dev
parent9c26424dc7960a78553b78725b891b0bf8494620 (diff)
s/inline/__inline/ for X11's sake (-ansi)
Diffstat (limited to 'sys/arch/amiga/dev')
-rw-r--r--sys/arch/amiga/dev/grf_rtreg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/amiga/dev/grf_rtreg.h b/sys/arch/amiga/dev/grf_rtreg.h
index 0ac39922455..bce7d302aee 100644
--- a/sys/arch/amiga/dev/grf_rtreg.h
+++ b/sys/arch/amiga/dev/grf_rtreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: grf_rtreg.h,v 1.2 1996/05/02 06:43:51 niklas Exp $ */
+/* $OpenBSD: grf_rtreg.h,v 1.3 1998/04/17 15:55:52 niklas Exp $ */
/* $NetBSD: grf_rtreg.h,v 1.7 1996/04/21 21:11:23 veego Exp $ */
/*
@@ -503,22 +503,22 @@ extern unsigned char NCRStdPalette[];
#define Map(m) \
do { WGfx(ba, GCT_ID_READ_MAP_SELECT, m & 3 ); WSeq(ba, SEQ_ID_MAP_MASK, (1 << (m & 3))); } while (0)
-static inline unsigned char RAttr(volatile void * ba, short idx) {
+static __inline unsigned char RAttr(volatile void * ba, short idx) {
vgaw (ba, ACT_ADDRESS, idx);
return vgar (ba, ACT_ADDRESS_R);
}
-static inline unsigned char RSeq(volatile void * ba, short idx) {
+static __inline unsigned char RSeq(volatile void * ba, short idx) {
vgaw (ba, SEQ_ADDRESS, idx);
return vgar (ba, SEQ_ADDRESS_R);
}
-static inline unsigned char RCrt(volatile void * ba, short idx) {
+static __inline unsigned char RCrt(volatile void * ba, short idx) {
vgaw (ba, CRT_ADDRESS, idx);
return vgar (ba, CRT_ADDRESS_R);
}
-static inline unsigned char RGfx(volatile void * ba, short idx) {
+static __inline unsigned char RGfx(volatile void * ba, short idx) {
vgaw(ba, GCT_ADDRESS, idx);
return vgar (ba, GCT_ADDRESS_R);
}