X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-events.h;h=e2cd544559d512b7443def6035569060a3ced300;hb=4babaf8bf3b1368e87e9670b15b752a1c334a91c;hp=13b6abf5cf0d4e7c1fc64c0fa4c3d364f50344e4;hpb=b3fdf78b15beb940918da1e41eb68e24ba31bb87;p=lttng-modules.git diff --git a/lttng-events.h b/lttng-events.h index 13b6abf5..e2cd5445 100644 --- a/lttng-events.h +++ b/lttng-events.h @@ -22,7 +22,7 @@ #include #include -#define lttng_is_signed_type(type) (((type)(-1)) < 0) +#define lttng_is_signed_type(type) (((type) -1) < (type) 1) struct lttng_channel; struct lttng_session; @@ -693,13 +693,13 @@ static inline int lttng_syscalls_destroy(struct lttng_channel *chan) } static inline int lttng_syscall_filter_enable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; } static inline int lttng_syscall_filter_disable(struct lttng_channel *chan, - struct lttng_event *event); + struct lttng_event *event) { return -ENOSYS; }