X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-syscalls.c;h=37feffbe43c1a90319c2ed2cef161b4e6f5ade74;hb=d0a5ff7d8479de94f1082055d1d940d660027fc8;hp=ebf32f8ed3274ad7ce90ec14e59a64df23ca390d;hpb=886d51a3d7ed5fa6b41d7f19b3e14ae6c535a44c;p=lttng-modules.git diff --git a/lttng-syscalls.c b/lttng-syscalls.c index ebf32f8e..37feffbe 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -29,10 +29,9 @@ #include "lttng-events.h" #ifndef CONFIG_COMPAT -static inline int is_compat_task(void) -{ - return 0; -} +# ifndef is_compat_task +# define is_compat_task() (0) +# endif #endif static