abidiff reports that compat_sync_file_range is exported by
liblttng-ctl.
'function int compat_sync_file_range(int, off64_t, off64_t, unsigned int)' {compat_sync_file_range}
Mark the function as LTTNG_HIDDEN.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
#define _LGPL_SOURCE
#include <common/compat/fcntl.h>
#define _LGPL_SOURCE
#include <common/compat/fcntl.h>
+#include <common/macros.h>
#include <unistd.h>
#ifdef __linux__
#include <unistd.h>
#ifdef __linux__
int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
unsigned int flags)
{
int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes,
unsigned int flags)
{