diff options
author | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-15 00:54:32 +0000 |
commit | 78ea2a381b4a1829338088dc12e054d05bd32b59 (patch) | |
tree | 0e4fed627017f370a1dc320465630b9b87d4f4af /sys/i386/isa/atapi.c | |
parent | 54924772e9c10201de95bda5b1765dc4efc93604 (diff) | |
download | FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.zip FreeBSD-src-78ea2a381b4a1829338088dc12e054d05bd32b59.tar.gz |
Completed function declarations and/or added prototypes and/or added
#includes to get prototypes.
Diffstat (limited to 'sys/i386/isa/atapi.c')
-rw-r--r-- | sys/i386/isa/atapi.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/i386/isa/atapi.c b/sys/i386/isa/atapi.c index 40a1d57..09c29c2 100644 --- a/sys/i386/isa/atapi.c +++ b/sys/i386/isa/atapi.c @@ -764,7 +764,7 @@ void atapi_request_callback (struct atapi *ata, int unit, u_char cmd, u_char a1, u_char a2, u_char a3, u_char a4, u_char a5, u_char a6, u_char a7, u_char a8, u_char a9, u_char a10, u_char a11, u_char a12, u_char a13, u_char a14, u_char a15, - char *addr, int count, void (*done)(), void *x, void *y) + char *addr, int count, atapi_callback_t *done, void *x, void *y) { struct atapicmd *ac; @@ -925,13 +925,18 @@ void (*atapi_request_callback_ptr) (struct atapi *ata, int unit, u_char cmd, u_char a1, u_char a2, u_char a3, u_char a4, u_char a5, u_char a6, u_char a7, u_char a8, u_char a9, u_char a10, u_char a11, u_char a12, u_char a13, u_char a14, u_char a15, - char *addr, int count, void (*done)(), void *x, void *y); + char *addr, int count, atapi_callback_t *done, void *x, void *y); struct atapires (*atapi_request_immediate_ptr) (struct atapi *ata, int unit, u_char cmd, u_char a1, u_char a2, u_char a3, u_char a4, u_char a5, u_char a6, u_char a7, u_char a8, u_char a9, u_char a10, u_char a11, u_char a12, u_char a13, u_char a14, u_char a15, char *addr, int count); +extern int atapi_lock (int ctlr); +/* + * XXX "ioconf.h" is not included by <sys/conf.h> for lkms, so we need this + * misplaced declaration. + */ extern void wdintr (int); /* |