Add ifdefs to protect the header files from being included

multiple times

From Richard Sharpe
This commit is contained in:
Ronnie Sahlberg
2011-02-25 14:25:45 +11:00
parent b5c1c8705a
commit e9749ee68c
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -14,6 +14,8 @@
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __iscsi_private_h__
#define __iscsi_private_h__
#include <stdint.h>
@@ -245,3 +247,5 @@ unsigned long crc32c(char *buf, int len);
void iscsi_cbdata_steal_scsi_task(struct scsi_task *task);
#endif /* __iscsi_private_h__ */