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 lttng-ctl filter lib
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
filter
/
filter-visitor-generate-bytecode.c
diff --git
a/src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
b/src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
index 52c69567c37422b1039c544185b7289a3433eff4..39f74591f2a433e791a97f71145d0ce474a827ed 100644
(file)
--- a/
src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
+++ b/
src/lib/lttng-ctl/filter/filter-visitor-generate-bytecode.c
@@
-27,6
+27,8
@@
#include "filter-ir.h"
#include "filter-ast.h"
#include "filter-ir.h"
#include "filter-ast.h"
+#include <common/macros.h>
+
#ifndef max_t
#define max_t(type, a, b) ((type) ((a) > (b) ? (a) : (b)))
#endif
#ifndef max_t
#define max_t(type, a, b) ((type) ((a) > (b) ? (a) : (b)))
#endif
@@
-497,7
+499,7
@@
int recursive_visit_gen_bytecode(struct filter_parser_ctx *ctx,
}
}
}
}
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
void filter_bytecode_free(struct filter_parser_ctx *ctx)
{
free(ctx->bytecode);
void filter_bytecode_free(struct filter_parser_ctx *ctx)
{
free(ctx->bytecode);
@@
-506,7
+508,7
@@
void filter_bytecode_free(struct filter_parser_ctx *ctx)
ctx->bytecode_reloc = NULL;
}
ctx->bytecode_reloc = NULL;
}
-__attribute__((visibility("hidden")))
+LTTNG_HIDDEN
int filter_visitor_bytecode_generate(struct filter_parser_ctx *ctx)
{
int ret;
int filter_visitor_bytecode_generate(struct filter_parser_ctx *ctx)
{
int ret;
This page took
0.022994 seconds
and
4
git commands to generate.