X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Fust%2Fkcompat%2Fcompiler.h;h=f2fbd3e3990c4dfd6872b883ee32a21d108f43af;hb=22d7294822cce9fdc893b8ab272e322270456ac9;hp=d3ef8a1e0cd9c9648dd046a719d16f76d5cfe436;hpb=2c9d748b51b1b05732d9386d84f4203f3cdba74d;p=ust.git diff --git a/include/ust/kcompat/compiler.h b/include/ust/kcompat/compiler.h index d3ef8a1..f2fbd3e 100644 --- a/include/ust/kcompat/compiler.h +++ b/include/ust/kcompat/compiler.h @@ -34,6 +34,7 @@ #define __printf(a,b) __attribute__((format(printf,a,b))) #define noinline __attribute__((noinline)) #define __attribute_const__ __attribute__((__const__)) +#define __used __attribute__((used)) #define __maybe_unused __attribute__((unused)) #define notrace __attribute__((no_instrument_function))