[openib-general] [PATCH] osm: bad extern C in cl_pthreadpool.h

Eitan Zahavi eitan at mellanox.co.il
Sun Aug 14 06:54:31 PDT 2005


Hi

Just found an extra extern C in the file. Needless to say it breaks any 
c++ include of this file.

Signed-off-by:  Eitan Zahavi eitan at mellanox.co.il

Index: include/complib/cl_threadpool.h
===================================================================
--- include/complib/cl_threadpool.h    (revision 3036)
+++ include/complib/cl_threadpool.h    (working copy)
@@ -146,13 +146,6 @@ typedef struct _cl_thread_pool
 *    Thread Pool
 *********/
 
-
-#ifdef __cplusplus
-extern "C"
-{
-#endif
-
-
 /****f* Component Library: Thread Pool/cl_thread_pool_construct
 * NAME
 *    cl_thread_pool_construct




More information about the general mailing list