X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fiscsi%2Fiscsi-private.h;h=090d3c4692645f9ab6c592828205dec8634a98d6;hp=8c95b4d1655bab6ec5a065176d2b1dbca94a9e40;hb=37e247dbcb57f4b2effd44b37b96dc679ee525d0;hpb=cb522f25cada0d3429c69d0fbaa5bd337a422cdd diff --git a/ccan/iscsi/iscsi-private.h b/ccan/iscsi/iscsi-private.h index 8c95b4d1..090d3c46 100644 --- a/ccan/iscsi/iscsi-private.h +++ b/ccan/iscsi/iscsi-private.h @@ -1,4 +1,4 @@ -/* +/* Copyright (C) 2010 by Ronnie Sahlberg This program is free software; you can redistribute it and/or modify @@ -14,13 +14,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, see . */ +#ifndef CCAN_ISCSI_PRIVATE_H +#define CCAN_ISCSI_PRIVATE_H #include -#ifndef _U_ -#define _U_ -#endif - #ifndef discard_const #define discard_const(ptr) ((void *)((intptr_t)(ptr))) #endif @@ -141,3 +139,5 @@ int iscsi_process_logout_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pd int iscsi_process_scsi_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size); int iscsi_process_scsi_data_in(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size, int *is_finished); int iscsi_process_nop_out_reply(struct iscsi_context *iscsi, struct iscsi_pdu *pdu, const unsigned char *hdr, int size); + +#endif /* CCAN_ISCSI_PRIVATE_H */