X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Ferror.c;h=d5403d804d5c9dc658fcff946a1e74c074bf97a5;hb=91dfef6e2f50460b9597fc8a8186949c48557c14;hp=016027acdc7ef15a29bdd8a946fbbc97fc7af02b;hpb=f73fabfda365d22e7dd180fb1614e37c446fbd9e;p=lttng-tools.git 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;