/*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
*
- * SPDX-License-Identifier: GPL-2.0-only
+ * SPDX-License-Identifier: LGPL-2.1-only
*
*/
#include <lttng/lttng-error.h>
#include <common/compat/tid.h>
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
/* Avoid conflict with Solaris <sys/regset.h> */
#if defined(ERR) && defined(__sun__)
#undef ERR
return true;
}
-void lttng_abort_on_error(void);
+C_LINKAGE void lttng_abort_on_error(void);
static inline void __lttng_print_check_abort(enum lttng_error_level type)
{
/* Name must be a statically-allocated string. */
void logger_set_thread_name(const char *name, bool set_pthread_name);
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* _ERROR_H */