summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-09-28 16:23:13 +0000
committerjkh <jkh@FreeBSD.org>1994-09-28 16:23:13 +0000
commite2a0f2a7e46bf40ac34b028951b63f6f9175ff24 (patch)
tree2eecd0ad412076f4166e315350f60e3b47f7a0ee /sys
parent86acbaa967c9d633f959a87384cfc9419026216d (diff)
downloadFreeBSD-src-e2a0f2a7e46bf40ac34b028951b63f6f9175ff24.zip
FreeBSD-src-e2a0f2a7e46bf40ac34b028951b63f6f9175ff24.tar.gz
Make bt_timeout() match proper calling conventions - thank you -W!
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/bt742a.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/bt742a.c b/sys/i386/isa/bt742a.c
index b821e7a..617b811 100644
--- a/sys/i386/isa/bt742a.c
+++ b/sys/i386/isa/bt742a.c
@@ -12,7 +12,7 @@
* on the understanding that TFS is not responsible for the correct
* functioning of this software in any circumstances.
*
- * $Id: bt742a.c,v 1.23 1994/09/25 07:11:37 phk Exp $
+ * $Id: bt742a.c,v 1.24 1994/09/28 15:55:35 jkh Exp $
*/
/*
@@ -394,7 +394,7 @@ int btprobe();
int btattach();
int btintr();
int32 bt_scsi_cmd();
-void bt_timeout(caddr_t, int);
+void bt_timeout(void *);
void bt_inquire_setup_information();
void bt_done();
void btminphys();
@@ -1564,7 +1564,7 @@ bt_poll(unit, xs, ccb)
* accounting for the fact that the clock is not running yet
* by taking out the clock queue entry it makes.
*/
- bt_timeout((caddr_t)ccb, 0);
+ bt_timeout(ccb);
/*
* because we are polling, take out the timeout entry
@@ -1591,7 +1591,7 @@ bt_poll(unit, xs, ccb)
* We timed out again... This is bad. Notice that
* this time there is no clock queue entry to remove.
*/
- bt_timeout((caddr_t)ccb, 0);
+ bt_timeout(ccb);
}
}
if (xs->error)
@@ -1600,7 +1600,7 @@ bt_poll(unit, xs, ccb)
}
void
-bt_timeout(caddr_t arg1, int arg2)
+bt_timeout(void *arg1)
{
struct bt_ccb * ccb = (struct bt_ccb *)arg1;
int unit;
OpenPOWER on IntegriCloud