summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-10-19 01:49:23 +0000
committerwollman <wollman@FreeBSD.org>1994-10-19 01:49:23 +0000
commitc2771d0d1bd4ee9f81f73a838d7aa075897c1b71 (patch)
treea34e0424a4da38e224f4aa309311ee018fcbbaf3
parentdfe4413dc7f7667a67df75a03f348346fc30d223 (diff)
downloadFreeBSD-src-c2771d0d1bd4ee9f81f73a838d7aa075897c1b71.zip
FreeBSD-src-c2771d0d1bd4ee9f81f73a838d7aa075897c1b71.tar.gz
Define SCSI_EXTERNALLEN outside of #ifdef KERNEL, for lsdev.
-rw-r--r--sys/scsi/scsiconf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h
index b9ba679..a2d1ae9 100644
--- a/sys/scsi/scsiconf.h
+++ b/sys/scsi/scsiconf.h
@@ -14,7 +14,7 @@
*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: scsiconf.h,v 1.10 1994/09/28 20:16:41 se Exp $
+ * $Id: scsiconf.h,v 1.11 1994/10/19 01:20:44 wollman Exp $
*/
#ifndef SCSI_SCSICONF_H
#define SCSI_SCSICONF_H 1
@@ -288,12 +288,13 @@ int _3btol __P((u_char *bytes));
extern void sc_print_addr(struct scsi_link *);
-#define SCSI_EXTERNALLEN (sizeof(struct scsi_link))
extern int scsi_externalize(struct scsi_link *, void *, size_t *);
extern int scsi_internalize(struct scsi_link *, void **, size_t *);
#endif
+#define SCSI_EXTERNALLEN (sizeof(struct scsi_link))
+
#ifdef NEW_SCSICONF
/**********************************************************************
from the scsi2 spec
OpenPOWER on IntegriCloud