summaryrefslogtreecommitdiffstats
path: root/sys/dev/scd
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/scd
parent37b60f29dd0d528b8bc950b0b559f304b73db9ec (diff)
downloadFreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.zip
FreeBSD-src-b598f559b2947bb9582b53221185bb27d86cd68f.tar.gz
Support compiling with `gcc -ansi'.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r--sys/dev/scd/scd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index bdc1c15..6d25f89 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -41,7 +41,7 @@
*/
-/* $Id: scd.c,v 1.34 1997/12/02 21:06:26 phk Exp $ */
+/* $Id: scd.c,v 1.35 1998/01/24 02:54:24 eivind Exp $ */
/* Please send any comments to micke@dynas.se */
@@ -149,7 +149,7 @@ static void hsg2msf(int hsg, bcd_t *msf);
static int msf2hsg(bcd_t *msf);
static void process_attention(unsigned unit);
-static inline void write_control(unsigned port, unsigned data);
+static __inline void write_control(unsigned port, unsigned data);
static int waitfor_status_bits(int unit, int bits_set, int bits_clear);
static int send_cmd(u_int unit, u_char cmd, u_int nargs, ...);
static void init_drive(unsigned unit);
@@ -1274,7 +1274,7 @@ read_toc(dev_t dev)
return 0;
}
-static inline void
+static __inline void
write_control(unsigned port, unsigned data)
{
outb(port + OREG_CONTROL, data);
OpenPOWER on IntegriCloud