#include <assert.h>
#include <lttng/lttng-error.h>
+#include <common/common.h>
#include "error.h"
*
* These code MUST be negative in other to treat that as an error value.
*/
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
const char *error_get_str(int32_t code)
{
code = -code;