Introduce lttng_copy_from_user_check_nofault
[lttng-modules.git] / lttng-events.h
index 13b6abf5cf0d4e7c1fc64c0fa4c3d364f50344e4..e2cd544559d512b7443def6035569060a3ced300 100644 (file)
@@ -22,7 +22,7 @@
 #include <lttng-abi.h>
 #include <lttng-abi-old.h>
 
-#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;
 }
This page took 0.023947 seconds and 4 git commands to generate.