diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-10 18:04:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-10 18:04:42 +0000 |
commit | dedcf7dabb00172eb049d9c7114d62454caaa2f3 (patch) | |
tree | 7392dc4027b1b65bf38bd42dec24558801e68abe /sys/scsi/ssvar.h | |
parent | 8b8ed604b4dcbfad046c7ee3f8502c90843db3a7 (diff) |
clean namespace a fair bit; wrap kernel-use-only structures and gunk in
#ifdef _KERNEL
Diffstat (limited to 'sys/scsi/ssvar.h')
-rw-r--r-- | sys/scsi/ssvar.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/scsi/ssvar.h b/sys/scsi/ssvar.h index be9f3fbedbb..0c5d39546b3 100644 --- a/sys/scsi/ssvar.h +++ b/sys/scsi/ssvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ssvar.h,v 1.11 2006/11/28 16:56:50 dlg Exp $ */ +/* $OpenBSD: ssvar.h,v 1.12 2008/11/10 18:04:41 deraadt Exp $ */ /* $NetBSD: ssvar.h,v 1.2 1996/03/30 21:47:11 christos Exp $ */ /* @@ -31,6 +31,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#ifdef _KERNEL + /* * SCSI scanner interface description */ @@ -77,3 +79,5 @@ struct ss_softc { */ void mustek_attach(struct ss_softc *, struct scsi_attach_args *); void scanjet_attach(struct ss_softc *, struct scsi_attach_args *); + +#endif /* _KERNEL */ |