[openib-general] osm-1.8.0-merge nit

Hal Rosenstock halr at voltaire.com
Tue Aug 30 09:14:18 PDT 2005


Hi Yael,

I'm starting to look at the complib changes with the 1.8.0 merge. One
trivial thing is the following in include/complib/cl_event_wheel.h:

#ifdef __cplusplus
#  define BEGIN_C_DECLS extern "C" {
#  define END_C_DECLS   }
#else /* !__cplusplus */
#  define BEGIN_C_DECLS
#  define END_C_DECLS
#endif /* __cplusplus */

BEGIN_C_DECLS

#include <complib/cl_atomic.h>
#include <complib/cl_qlist.h>
#include <complib/cl_qmap.h>
#include <complib/cl_timer.h>
#include <complib/cl_spinlock.h>
#include <opensm/osm_log.h>

#ifdef __cplusplus
#  define BEGIN_C_DECLS extern "C" {
#  define END_C_DECLS   }
#else /* !__cplusplus */
#  define BEGIN_C_DECLS

BEGIN_C_DECLS

The second occurence of this should be removed.

-- Hal




More information about the general mailing list