@@ -277,4 +277,12 @@ void free_iwpm_mapped_ports(void);
extern struct list_head pending_messages;
extern struct list_head mapping_reqs;
+extern iwpm_client client_list[IWARP_PM_MAX_CLIENTS];
+
+extern pthread_cond_t cond_req_complete;
+extern pthread_mutex_t map_req_mutex;
+extern int wake;
+extern pthread_cond_t cond_pending_msg;
+extern pthread_mutex_t pending_msg_mutex;
+
#endif
@@ -44,8 +44,6 @@ char * iwpm_param_names[IWPM_PARAM_NUM] =
int iwpm_param_vals[IWPM_PARAM_NUM] =
{ 0 };
-extern iwpm_client client_list[IWARP_PM_MAX_CLIENTS];
-
/**
* get_iwpm_param()
*/
@@ -35,12 +35,6 @@
static LIST_HEAD(mapped_ports); /* list of mapped ports */
-extern pthread_cond_t cond_req_complete;
-extern pthread_mutex_t map_req_mutex;
-extern int wake; /* set if map_req_thread is wake */
-extern pthread_cond_t cond_pending_msg;
-extern pthread_mutex_t pending_msg_mutex;
-
/**
* create_iwpm_map_request - Create a new map request tracking object
* @req_nlh: netlink header of the received client message
Signed-off-by: Christoph Hellwig <hch@lst.de> --- iwpmd/iwarp_pm.h | 8 ++++++++ iwpmd/iwarp_pm_common.c | 2 -- iwpmd/iwarp_pm_helper.c | 6 ------ 3 files changed, 8 insertions(+), 8 deletions(-)