X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=d5403d804d5c9dc658fcff946a1e74c074bf97a5;hp=016027acdc7ef15a29bdd8a946fbbc97fc7af02b;hb=32dd26fbc3c69fe677a7917535e10ace066e674c;hpb=7671f53cf3b6029a3bf00e502a0a58ac7a82e378 diff --git a/src/common/error.c b/src/common/error.c index 016027acd..d5403d804 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -109,6 +109,7 @@ static const char *error_string_array[] = { * * These code MUST be negative in other to treat that as an error value. */ +__attribute__((visibility("hidden"))) const char *error_get_str(int32_t code) { code = -code;