summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/labpc.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
committerbde <bde@FreeBSD.org>1998-04-15 17:47:40 +0000
commitb598f559b2947bb9582b53221185bb27d86cd68f (patch)
treef0a3b1121a7c68f5b6b630a3981fb3a4fbbc9c43 /sys/i386/isa/labpc.c
parent37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff)
downloadFreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip
FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/i386/isa/labpc.c')
-rw-r--r--sys/i386/isa/labpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/i386/isa/labpc.c b/sys/i386/isa/labpc.c
index 7f2743c..049bbc8 100644
--- a/sys/i386/isa/labpc.c
+++ b/sys/i386/isa/labpc.c
@@ -158,7 +158,7 @@ struct ctlr
/* loutb is a slow outb for debugging. The overrun test may fail
* with this for some slower processors.
*/
-static inline void loutb(int port, u_char val)
+static __inline void loutb(int port, u_char val)
{
outb(port, val);
DELAY(1);
@@ -326,7 +326,7 @@ done_and_start_next(struct ctlr *ctlr, struct buf *bp, int err)
start(ctlr);
}
-static inline void
+static __inline void
ad_clear(struct ctlr *ctlr)
{
int i;
@@ -339,7 +339,7 @@ ad_clear(struct ctlr *ctlr)
/* reset: Reset the board following the sequence on page 5-1
*/
-static inline void
+static __inline void
reset(struct ctlr *ctlr)
{
int s = splhigh();
@@ -497,7 +497,7 @@ static void null_intr (struct ctlr *ctlr) { }
static void null_start(struct ctlr *ctlr, long count) { }
static void null_stop (struct ctlr *ctlr) { }
-static inline void
+static __inline void
trigger(struct ctlr *ctlr)
{
CR_EXPR(ctlr, 2, |= SWTRIG);
OpenPOWER on IntegriCloud