[openib-general] [PATH] [TRIVIAL] opensm/osm_pkey_rcv_ctrl.c: make local function static

Sasha Khapyorsky sashak at voltaire.com
Thu Feb 2 14:51:43 PST 2006


Hi,

This makes local and "undercored" function static


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

diff --git a/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c b/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
--- a/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
+++ b/src/userspace/management/osm/opensm/osm_pkey_rcv_ctrl.c
@@ -49,7 +49,7 @@
 
 /**********************************************************************
  **********************************************************************/
-void
+static void
 __osm_pkey_rcv_ctrl_disp_callback(
   IN  void *context,
   IN  void *p_data )



More information about the general mailing list