iscsi: move extern g_conn_array to conn.h (#111)

This commit is contained in:
Tsuyoshi Uchida 2017-02-13 08:57:37 -08:00 committed by Daniel Verkamp
parent 4c8a8f09f3
commit 7912aa4a17
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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,