[ofa-general] [PATCH] complib: make __cl_thread_wrapper() static

Sasha Khapyorsky sashak at voltaire.com
Sat Dec 22 03:17:39 PST 2007


Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/complib/cl_thread.c    |    2 +-
 opensm/complib/libosmcomp.map |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/opensm/complib/cl_thread.c b/opensm/complib/cl_thread.c
index 004b118..ab1a329 100644
--- a/opensm/complib/cl_thread.c
+++ b/opensm/complib/cl_thread.c
@@ -47,7 +47,7 @@
  * This function is always run as a result of creation a new user mode thread.
  * Its main job is to synchronize the creation and running of the new thread.
  */
-void *__cl_thread_wrapper(void *arg)
+static void *__cl_thread_wrapper(void *arg)
 {
 	cl_thread_t *p_thread = (cl_thread_t *) arg;
 
diff --git a/opensm/complib/libosmcomp.map b/opensm/complib/libosmcomp.map
index 7ee845d..435c2fe 100644
--- a/opensm/complib/libosmcomp.map
+++ b/opensm/complib/libosmcomp.map
@@ -109,7 +109,6 @@ OSMCOMP_2.3 {
 		cl_spinlock_acquire;
 		cl_spinlock_release;
 		cl_status_text;
-		__cl_thread_wrapper;
 		cl_thread_construct;
 		cl_thread_init;
 		cl_thread_destroy;
-- 
1.5.3.4.206.g58ba4




More information about the general mailing list