summaryrefslogtreecommitdiff
path: root/sys/dev/atapiscsi/atapiscsi.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-05-21 08:42:04 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-05-21 08:42:04 +0000
commit5938ec6110870be34ad9da014404193d8903099d (patch)
tree66dc054ee4fcec77ef5b02062a85ccca29b5d57e /sys/dev/atapiscsi/atapiscsi.c
parent2d5a896e21afb2779a3d2aa025eeb40c0a338170 (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.c5
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;