From 87b5fe25aa726cf16fea70de3fd94d0bb5e4fa0e Mon Sep 17 00:00:00 2001 From: Garrett Wollman Date: Wed, 19 Oct 1994 01:49:23 +0000 Subject: [PATCH] Define SCSI_EXTERNALLEN outside of #ifdef KERNEL, for lsdev. --- sys/scsi/scsiconf.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/scsi/scsiconf.h b/sys/scsi/scsiconf.h index b9ba6797c1a..a2d1ae9ff01 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