iscsi: move extern g_conn_array to conn.h (#111)
This commit is contained in:
parent
4c8a8f09f3
commit
7912aa4a17
@ -162,6 +162,8 @@ struct spdk_iscsi_conn {
|
||||
TAILQ_HEAD(queued_datain_tasks, spdk_iscsi_task) queued_datain_tasks;
|
||||
};
|
||||
|
||||
extern struct spdk_iscsi_conn *g_conns_array;
|
||||
|
||||
int spdk_initialize_iscsi_conns(void);
|
||||
void spdk_shutdown_iscsi_conns(void);
|
||||
|
||||
|
@ -42,8 +42,6 @@
|
||||
|
||||
#include "spdk_internal/log.h"
|
||||
|
||||
extern struct spdk_iscsi_conn *g_conns_array; // TODO: move this to an internal iSCSI header
|
||||
|
||||
static void
|
||||
spdk_rpc_get_initiator_groups(struct spdk_jsonrpc_server_conn *conn,
|
||||
const struct spdk_json_val *params,
|
||||
|
Loading…
Reference in New Issue
Block a user