-#define POSIX_FADV_DONTNEED 0
-
-static inline int lttng_sync_file_range(int fd, off64_t offset,
- off64_t nbytes, unsigned int flags)
-{
- return -ENOSYS;
-}
-
-static inline ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out,
- size_t len, unsigned int flags)
-{
- return -ENOSYS;
-}
-
-static inline int posix_fadvise(int fd, off_t offset, off_t len, int advice)
+static inline ssize_t splice(
+ int fd_in __attribute__((unused)),
+ loff_t *off_in __attribute__((unused)),
+ int fd_out __attribute__((unused)),
+ loff_t *off_out __attribute__((unused)),
+ size_t len __attribute__((unused)),
+ unsigned int flags __attribute__((unused)))