syscall instrumentation: add missing forward declarations for old kernels
[lttng-modules.git] / src / lttng-syscalls.c
index a49a253caa25854f5a73800da2982dbaf5584fc3..ceba4e065cc1c2629762167424ea741c15521b4f 100644 (file)
@@ -77,6 +77,10 @@ struct sel_arg_struct;
 struct mmap_arg_struct;
 struct file_handle;
 struct user_msghdr;
+struct __kernel_old_itimerval;
+struct open_how;
+struct mount_attr;
+struct futex_waitv;
 
 /*
  * Forward declaration for kernels >= 5.6
@@ -840,7 +844,7 @@ int lttng_event_enabler_create_syscall_events_if_missing(struct lttng_event_enab
 
        lttng_syscall_event_enabler_create_matching_events(syscall_event_enabler);
 
-       return ret;
+       return 0;
 }
 
 int lttng_syscalls_unregister_syscall_table(struct lttng_kernel_syscall_table *syscall_table)
This page took 0.023066 seconds and 4 git commands to generate.