]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
r6179: Fix dapltest compiler warnings.
authorJames Lentini <jlentini@netapp.com>
Mon, 3 Apr 2006 15:29:30 +0000 (15:29 +0000)
committerJames Lentini <jlentini@netapp.com>
Mon, 3 Apr 2006 15:29:30 +0000 (15:29 +0000)
Signed-off-by: James Lentini <jlentini@netapp.com>
test/dapltest/include/dapl_proto.h
test/dapltest/test/dapl_bpool.c
test/dapltest/test/dapl_client.c
test/dapltest/test/dapl_server.c
test/dapltest/test/dapl_test_util.c
test/dapltest/test/dapl_transaction_util.c

index 5c1a9db62c0a03d9d63d47482a612b9b7cfda14d..98785eb21b3fc192896d713df2cea5f5d1f81069 100644 (file)
@@ -524,8 +524,8 @@ bool            DT_handle_rdma_op (DT_Tdep_Print_Head* phead,
                                        int op_indx,
                                        bool poll);
 
-bool            DT_check_params (Per_Test_Data_t     *pt_ptr,
-                                   unsigned char       *module);
+bool            DT_check_params (Per_Test_Data_t *pt_ptr,
+                                char *module);
 
 void           DT_Test_Error (void);
 
index 37c1e0006ce1fd91568aa146adfabb0b5008d3ef..4c3db38f197538513392457fcb68b894430bee3b 100644 (file)
@@ -56,7 +56,7 @@ DT_BpoolAlloc (
           DAT_BOOLEAN        enable_rdma_write,
           DAT_BOOLEAN        enable_rdma_read)
 {
-    unsigned char           *module = "DT_BpoolAlloc";
+    char                    *module = "DT_BpoolAlloc";
     unsigned char           *alloc_ptr = 0;
     Bpool                   *bpool_ptr = 0;
     DAT_COUNT                alloc_size;
@@ -254,7 +254,7 @@ DT_Bpool_Destroy (Per_Test_Data_t * pt_ptr,
                  DT_Tdep_Print_Head *phead,
                  Bpool * bpool_ptr)
 {
-    unsigned char *module = "DT_Bpool_Destroy";
+    char           *module = "DT_Bpool_Destroy";
     bool          rval = true;
 
     if (bpool_ptr)
index 64736e6649095d00fda66a5eb3096b7d4155b0ce..a7d1144c21c15a17983569b56d66b93385e73947 100644 (file)
@@ -57,7 +57,7 @@ DT_cs_Client (Params_t * params_ptr,
     Performance_Cmd_t   *Performance_Cmd    = NULL;
     Bpool               *bpool              = NULL;
     DAT_IA_ADDRESS_PTR  server_netaddr      = NULL;
-    unsigned char       *module             = "DT_cs_Client";
+    char                *module             = "DT_cs_Client";
     unsigned int       did_connect         = 0;
     unsigned int       retry_cnt           = 0;
     DAT_DTO_COOKIE     dto_cookie;
index 6838a06e144931091e6701b2b849d9578f3df03f..d7c2557b0f9a52bc0d1a8b011568862a894bbabc 100644 (file)
@@ -50,7 +50,7 @@ DT_cs_Server (Params_t * params_ptr)
     Started_server_t    *temp_list      = NULL;
     Started_server_t    *pre_list       = NULL;
     unsigned char       *buffp          = NULL;
-    unsigned char       *module         = "DT_cs_Server";
+    char                *module         = "DT_cs_Server";
 
     DAT_DTO_COOKIE     dto_cookie;
     DAT_DTO_COMPLETION_EVENT_DATA dto_stat;
@@ -842,7 +842,7 @@ send_control_data (
        Per_Server_Data_t   *ps_ptr,
        Per_Test_Data_t     *pt_ptr)
 {
-    unsigned char       *module         = "send_control_data";
+    char                *module         = "send_control_data";
     DAT_DTO_COOKIE     dto_cookie;
     DAT_DTO_COMPLETION_EVENT_DATA dto_stat;
 
index 89e91330e351cc49eb1f39ff7ed13b95c7549330..11b2e90fec90199b61732db773de10eac204d6e6 100644 (file)
@@ -38,7 +38,7 @@ DT_query (   Per_Test_Data_t *pt_ptr,
            DAT_IA_HANDLE   ia_handle,
            DAT_EP_HANDLE   ep_handle)
 {
-    unsigned char   *module = "DT_query";
+    char            *module = "DT_query";
     DAT_EVD_HANDLE  async_evd_hdl;  /* not used */
     DAT_EP_PARAM    ep_params;
     DAT_RETURN      ret;
index fa9c037ba311c74f43b4fb924d6039d40c1405e4..d26ca8579e2c3feac5e61e91e706259d89e56b1d 100644 (file)
@@ -641,7 +641,7 @@ DT_handle_rdma_op (DT_Tdep_Print_Head *phead,
  */
 bool
 DT_check_params (Per_Test_Data_t  *pt_ptr,
-               unsigned char    *module)
+                char             *module)
 {
     Transaction_Cmd_t * cmd        = &pt_ptr->Params.u.Transaction_Cmd;
     unsigned long      num_recvs   = 0U;