[openib-general] [PATCH 1/4] osm: TRIVIAL - making comparison functions static (fat-tree routing)

Yevgeny Kliteynik kliteyn at dev.mellanox.co.il
Mon Jan 1 05:30:45 PST 2007


Making two comparison functions in ftree static.

--
Yevgeny

Signed-off-by: Yevgeny Kliteynik <kliteyn at dev.mellanox.co.il>
---
 osm/opensm/osm_ucast_ftree.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/osm/opensm/osm_ucast_ftree.c b/osm/opensm/osm_ucast_ftree.c
index 0473135..32d1b3b 100644
--- a/osm/opensm/osm_ucast_ftree.c
+++ b/osm/opensm/osm_ucast_ftree.c
@@ -226,7 +226,7 @@ typedef struct ftree_fabric_t_
  **
  ***************************************************/
 
-int OSM_CDECL
+static int OSM_CDECL
 __osm_ftree_compare_switches_by_index(
    IN  const void * p1, 
    IN  const void * p2)
@@ -247,7 +247,7 @@ __osm_ftree_compare_switches_by_index(
 
 /***************************************************/
 
-int OSM_CDECL
+static int OSM_CDECL
 __osm_ftree_compare_port_groups_by_remote_switch_index(
    IN  const void * p1, 
    IN  const void * p2)
-- 
1.4.4.1.GIT






More information about the general mailing list