[TRUNK] Change the cl_pfn_fmap_cmp_t compare function to return an 'int' instead...
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Nov 2009 18:44:54 +0000 (18:44 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 16 Nov 2009 18:44:54 +0000 (18:44 +0000)
Additionally the change removes some usage of the non-standard C type 'intn_t' in favor of the basic C data type 'int'.

Files impacted:

inc\complib\cl_fleximap.h line #185 cl_pfn_fmap_cmp_t function returns 'int' instead of 'intn_t'.
core\al\kernel\al_ioc_pnp.c
core\al\kernel\al_pnp.c
ulp\wsd\user\ibsp_ip.c
ulp\ipoib\kernel\ipoib_port.c
ulp\ipoib\kernel\ipoib_port.cpp
ulp\wsd\user\ibspproto.h

Tested by:
  building WinOF installers for wlh, win7, wnet & wxp
  installing newly built installers.
  Running DAPL tests, IPoIB tests & opensm tests.

Signed-off-by: stan smith <stan.smith@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2559 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

core/al/kernel/al_ioc_pnp.c
core/al/kernel/al_pnp.c
inc/complib/cl_fleximap.h
ulp/ipoib/kernel/ipoib_port.c
ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp
ulp/wsd/user/ibsp_ip.c
ulp/wsd/user/ibspproto.h

index b283ea1..498a08b 100644 (file)
@@ -402,12 +402,12 @@ __put_ioc_map(
        IN                              ioc_pnp_mgr_t* const            p_ioc_mgr,\r
        IN                              cl_qmap_t* const                        p_ioc_map );\r
 \r
-static intn_t\r
+static int\r
 __iou_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 );\r
 \r
-static intn_t\r
+static int\r
 __path_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 );\r
@@ -1121,7 +1121,7 @@ __put_ioc_map(
  * address of the ca_guid, which is adjacent to the node GUID of the IOU.\r
  * This allows for a single call to cl_memcmp.\r
  */\r
-static intn_t\r
+static int\r
 __iou_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
@@ -1133,7 +1133,7 @@ __iou_cmp(
 /*\r
  * Compares two paths for inserts/lookups in a flexi map.\r
  */\r
-static intn_t\r
+static int\r
 __path_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
index ac51a37..cca4fde 100644 (file)
@@ -89,7 +89,7 @@ __pnp_free(
  * address of the reg guid1, which is adjacent to the context guid2 (if exist).\r
  * This allows for a single call to cl_memcmp.\r
  */\r
-static intn_t\r
+static int\r
 __context_cmp128(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
@@ -102,7 +102,7 @@ __context_cmp128(
  * address of the reg guid1, which is adjacent to the context guid2 (if exist).\r
  * This allows for a single call to cl_memcmp.\r
  */\r
-static intn_t\r
+static int\r
 __context_cmp64(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
index ffb5fcb..30f72bf 100644 (file)
@@ -182,7 +182,7 @@ typedef struct _cl_fmap_item
 *\r
 * SYNOPSIS\r
 */\r
-typedef intn_t\r
+typedef int\r
 (CL_API *cl_pfn_fmap_cmp_t)(\r
        IN      const void* const               p_key1,\r
        IN      const void*     const           p_key2 );\r
index 4d1736f..3773c7c 100644 (file)
@@ -476,7 +476,7 @@ __leave_error_mcast_cb(
        IN                              void                            *context );\r
 \r
 \r
-static intn_t\r
+static int\r
 __gid_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
index 273e86f..c336a70 100644 (file)
@@ -576,7 +576,7 @@ __leave_error_mcast_cb(
        IN                              void                            *context );\r
 \r
 \r
-static intn_t\r
+static int\r
 __gid_cmp(\r
        IN              const   void* const                                     p_key1,\r
        IN              const   void* const                                     p_key2 )\r
index a31fbbd..a0afe89 100644 (file)
@@ -58,7 +58,7 @@ struct ip_query_context
 };\r
 \r
 \r
-intn_t CL_API\r
+int CL_API\r
 ip_cmp(\r
        IN      const void* const               p_key1,\r
        IN      const void*     const           p_key2 )\r
index 3465770..8e1c80e 100644 (file)
@@ -152,7 +152,7 @@ ibal_to_wsa_error(
        IN                              const ib_api_status_t           status );\r
 \r
 /* Protos from ibsp_ip.c */\r
-intn_t CL_API\r
+int CL_API\r
 ip_cmp(\r
        IN      const void* const               p_key1,\r
        IN      const void*     const           p_key2 );\r