X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fiscsi%2Fscsi-lowlevel.h;h=3d477fc61c1086c7d64076bb6231f3c0511e683f;hp=9417f42f4f0ec866397ffbbb8c7c0453f0de053b;hb=63e80faf9b42fbe73e25c804dd734b6179e42c24;hpb=cb522f25cada0d3429c69d0fbaa5bd337a422cdd diff --git a/ccan/iscsi/scsi-lowlevel.h b/ccan/iscsi/scsi-lowlevel.h index 9417f42f..3d477fc6 100644 --- a/ccan/iscsi/scsi-lowlevel.h +++ b/ccan/iscsi/scsi-lowlevel.h @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2010 by Ronnie Sahlberg This program is free software; you can redistribute it and/or modify @@ -14,10 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ - -#ifndef _U_ -#define _U_ -#endif +#ifndef CCAN_ISCSI_SCSI_LOWLEVEL_H +#define CCAN_ISCSI_SCSI_LOWLEVEL_H #define SCSI_CDB_MAX_SIZE 16 @@ -165,7 +163,7 @@ struct scsi_inquiry_standard { char vendor_identification[8+1]; char product_identification[16+1]; char product_revision_level[4+1]; -}; +}; struct scsi_task *scsi_cdb_inquiry(int evpd, int page_code, int alloc_len); @@ -192,3 +190,4 @@ void *scsi_datain_unmarshall(struct scsi_task *task); struct scsi_task *scsi_cdb_read10(int lba, int xferlen, int blocksize); struct scsi_task *scsi_cdb_write10(int lba, int xferlen, int fua, int fuanv, int blocksize); +#endif /* CCAN_ISCSI_SCSI_LOWLEVEL_H */