projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: use LTTNG_HIDDEN in src/common
[lttng-tools.git]
/
src
/
common
/
error.c
diff --git
a/src/common/error.c
b/src/common/error.c
index e73cf17f6991f305e3dda64a873751dd37dd47fc..62a813a3e9808f638307d864b4a6ee686189eb51 100644
(file)
--- a/
src/common/error.c
+++ b/
src/common/error.c
@@
-19,6
+19,7
@@
#include <assert.h>
#include <lttng/lttng-error.h>
#include <assert.h>
#include <lttng/lttng-error.h>
+#include <common/common.h>
#include "error.h"
#include "error.h"
@@
-113,7
+114,7
@@
static const char *error_string_array[] = {
*
* These code MUST be negative in other to treat that as an error value.
*/
*
* 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;
const char *error_get_str(int32_t code)
{
code = -code;
This page took
0.02441 seconds
and
4
git commands to generate.