+2008-03-24 Nathan Sidwell <nathan@codesourcery.com>
+
+ * gthr-vxworks.h (UNUSED): Define.
+
2008-03-23 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.h (STATIC_CHAIN_REGNUM): Use R10_REG and
#include "gthr-posix.h"
#else
+#ifdef __cplusplus
+#define UNUSED(x)
+#else
+#define UNUSED(x) x __attribute__((unused))
+#endif
#ifdef __cplusplus
extern "C" {
extern void *__gthread_getspecific (__gthread_key_t key);
extern int __gthread_setspecific (__gthread_key_t key, void *ptr);
+#undef UNUSED
+
#ifdef __cplusplus
}
#endif