Dont include iscsi headers from the scsi implementation in scsi-lowlevel.c

This commit is contained in:
Ronnie Sahlberg
2012-11-11 09:49:49 -08:00
parent 3b05e9996f
commit a5b8224f4e
2 changed files with 7 additions and 3 deletions

View File

@@ -17,6 +17,12 @@
#ifndef __scsi_lowlevel_h__
#define __scsi_lowlevel_h__
#if defined(WIN32)
#define EXTERN __declspec( dllexport )
#else
#define EXTERN
#endif
#ifdef __cplusplus
extern "C" {
#endif
@@ -356,7 +362,7 @@ struct scsi_task {
/* This function will free a scsi task structure.
You may NOT cancel a task until the callback has been invoked
and the command has completed on the iscsi layer.
and the command has completed on the transport layer.
*/
EXTERN void scsi_free_scsi_task(struct scsi_task *task);

View File

@@ -35,9 +35,7 @@
#include <string.h>
#include <stdint.h>
#include "slist.h"
#include "iscsi.h"
#include "scsi-lowlevel.h"
#include "iscsi-private.h"
struct scsi_allocated_memory {
struct scsi_allocated_memory *next;