diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2002-05-21 08:42:04 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2002-05-21 08:42:04 +0000 |
commit | 5938ec6110870be34ad9da014404193d8903099d (patch) | |
tree | 66dc054ee4fcec77ef5b02062a85ccca29b5d57e /sys/dev/atapiscsi/atapiscsi.c | |
parent | 2d5a896e21afb2779a3d2aa025eeb40c0a338170 (diff) |
Move enum definitions to global scope. Local scope is meaningless, and
interferes with C99's anonymous stuff.
ok millert@
Diffstat (limited to 'sys/dev/atapiscsi/atapiscsi.c')
-rw-r--r-- | sys/dev/atapiscsi/atapiscsi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c index 3e008b43791..ac7de00baf4 100644 --- a/sys/dev/atapiscsi/atapiscsi.c +++ b/sys/dev/atapiscsi/atapiscsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atapiscsi.c,v 1.60 2002/05/10 16:26:28 csapuntz Exp $ */ +/* $OpenBSD: atapiscsi.c,v 1.61 2002/05/21 08:42:03 espie Exp $ */ /* * This code is derived from code with the copyright below. @@ -150,11 +150,12 @@ int atapiscsi_match(struct device *, void *, void *); void atapiscsi_attach(struct device *, struct device *, void *); int atapi_to_scsi_sense(struct scsi_xfer *, u_int8_t); +enum atapi_state { as_none, as_data, as_completed }; + struct atapiscsi_softc { struct device sc_dev; struct scsi_link sc_adapterlink; struct channel_softc *chp; - enum atapi_state { as_none, as_data, as_completed }; enum atapi_state protocol_phase; int drive; |