diff options
author | bde <bde@FreeBSD.org> | 1995-12-14 19:51:15 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-14 19:51:15 +0000 |
commit | 0755e57c15ebdc556978aaa281b5819c2a999e19 (patch) | |
tree | 7c64b83013e518794257dfa932505df9a8ea8add /sys/scsi/sctarg.c | |
parent | 93209d9d82f9f4af9b19ef144fe74ba9d7cc483d (diff) | |
download | FreeBSD-src-0755e57c15ebdc556978aaa281b5819c2a999e19.zip FreeBSD-src-0755e57c15ebdc556978aaa281b5819c2a999e19.tar.gz |
Moved prototypes to better places.
Fixed indentation of some function headers.
Diffstat (limited to 'sys/scsi/sctarg.c')
-rw-r--r-- | sys/scsi/sctarg.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/scsi/sctarg.c b/sys/scsi/sctarg.c index e1cef28..1b60d4c 100644 --- a/sys/scsi/sctarg.c +++ b/sys/scsi/sctarg.c @@ -37,7 +37,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: sctarg.c,v 1.10 1995/12/08 23:22:24 phk Exp $ + * $Id: sctarg.c,v 1.11 1995/12/14 09:54:32 phk Exp $ */ /* @@ -66,11 +66,6 @@ struct scsi_data { int flags; /* Already open */ }; -static errval sctarg_open(dev_t dev, int flags, int fmt, struct proc *p, -struct scsi_link *sc_link); -static void sctargstart(u_int32 unit, u_int32 unused_flags); -static void sctarg_strategy(struct buf *bp, struct scsi_link *sc_link); - static d_open_t sctargopen; static d_close_t sctargclose; static d_ioctl_t sctargioctl; @@ -84,6 +79,11 @@ static struct cdevsw sctarg_cdevsw = SCSI_DEVICE_ENTRIES(sctarg) +static errval sctarg_open(dev_t dev, int flags, int fmt, struct proc *p, + struct scsi_link *sc_link); +static void sctargstart(u_int32 unit, u_int32 unused_flags); +static void sctarg_strategy(struct buf *bp, struct scsi_link *sc_link); + static struct scsi_device sctarg_switch = { NULL, @@ -109,7 +109,7 @@ static struct scsi_device sctarg_switch = static errval sctarg_open(dev_t dev, int flags, int fmt, struct proc *p, -struct scsi_link *sc_link) + struct scsi_link *sc_link) { int ret = 0; |