[openib-general] RE: osm-1.8.0-merge nit

Yael Kalka yael at mellanox.co.il
Wed Aug 31 00:45:42 PDT 2005


Hi Hal,
Thanks. Fixed in this file and some other files where the problem existed.
Yael

-----Original Message-----
From: Hal Rosenstock [mailto:halr at voltaire.com]
Sent: Tuesday, August 30, 2005 7:14 PM
To: Yael Kalka
Cc: openib-general at openib.org
Subject: osm-1.8.0-merge nit


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050831/f8305e79/attachment.html>


More information about the general mailing list