summaryrefslogtreecommitdiffstats
path: root/sys/dev/dgb
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/dev/dgb
parent37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff)
downloadFreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip
FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/dev/dgb')
-rw-r--r--sys/dev/dgb/dgb.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/dev/dgb/dgb.c b/sys/dev/dgb/dgb.c
index cf98b7e..a8280a3 100644
--- a/sys/dev/dgb/dgb.c
+++ b/sys/dev/dgb/dgb.c
@@ -1,5 +1,5 @@
/*-
- * dgb.c $Id: dgb.c,v 1.30 1997/12/16 17:39:57 eivind Exp $
+ * dgb.c $Id: dgb.c,v 1.31 1998/01/24 02:54:07 eivind Exp $
*
* Digiboard driver.
*
@@ -311,10 +311,10 @@ static int dgbdebug=0;
SYSCTL_INT(_debug, OID_AUTO, dgb_debug, CTLFLAG_RW,
&dgbdebug, 0, "");
-static int setwin __P((struct dgb_softc *sc, unsigned addr));
-static int setinitwin __P((struct dgb_softc *sc, unsigned addr));
-static void hidewin __P((struct dgb_softc *sc));
-static void towin __P((struct dgb_softc *sc, int win));
+static __inline int setwin __P((struct dgb_softc *sc, unsigned addr));
+static __inline int setinitwin __P((struct dgb_softc *sc, unsigned addr));
+static __inline void hidewin __P((struct dgb_softc *sc));
+static __inline void towin __P((struct dgb_softc *sc, int win));
/*Helg: to allow recursive dgb...() calls */
typedef struct
@@ -349,7 +349,7 @@ bmws_set(BoardMemWinState ws)
}
}
-static inline int
+static __inline int
setwin(sc,addr)
struct dgb_softc *sc;
unsigned int addr;
@@ -364,7 +364,7 @@ setwin(sc,addr)
}
}
-static inline int
+static __inline int
setinitwin(sc,addr)
struct dgb_softc *sc;
unsigned int addr;
@@ -379,7 +379,7 @@ setinitwin(sc,addr)
}
}
-static inline void
+static __inline void
hidewin(sc)
struct dgb_softc *sc;
{
@@ -390,7 +390,7 @@ hidewin(sc)
outb(bmws.port=sc->port, bmws.data);
}
-static inline void
+static __inline void
towin(sc,win)
struct dgb_softc *sc;
int win;
OpenPOWER on IntegriCloud