[openib-general] [PATCH trivial] opensm: make some local functions static

Sasha Khapyorsky sashak at voltaire.com
Fri Mar 24 12:42:00 PST 2006


Hello,

This makes local functions static in osm_sa_path_record_ctrl.c and
osm_sa_service_record_ctrl.c.

Sasha.


Make some local functions static.

Signed-off-by: Sasha Khapyorsky <sahak at voltaire.com>
---

 osm/opensm/osm_sa_path_record_ctrl.c    |    2 +-
 osm/opensm/osm_sa_service_record_ctrl.c |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/osm/opensm/osm_sa_path_record_ctrl.c b/osm/opensm/osm_sa_path_record_ctrl.c
index 2c75e3d..19cdf6a 100644
--- a/osm/opensm/osm_sa_path_record_ctrl.c
+++ b/osm/opensm/osm_sa_path_record_ctrl.c
@@ -61,7 +61,7 @@
 
 /**********************************************************************
  **********************************************************************/
-void
+static void
 __osm_pr_rcv_ctrl_disp_callback(
   IN  void *context,
   IN  void *p_data )
diff --git a/osm/opensm/osm_sa_service_record_ctrl.c b/osm/opensm/osm_sa_service_record_ctrl.c
index fdf89e2..404cfbd 100644
--- a/osm/opensm/osm_sa_service_record_ctrl.c
+++ b/osm/opensm/osm_sa_service_record_ctrl.c
@@ -57,7 +57,7 @@
 
 /**********************************************************************
  **********************************************************************/
-void
+static void
 __osm_sr_rcv_ctrl_disp_callback(
   IN  void *context,
   IN  void *p_data )
@@ -124,4 +124,3 @@ osm_sr_rcv_ctrl_init(
   OSM_LOG_EXIT( p_log );
   return( status );
 }
-



More information about the general mailing list