From: Jérémie Galarneau Date: Wed, 2 Oct 2019 21:53:58 +0000 (-0400) Subject: Fix: liblttng-ctl: compat_sync_file_range inadvertantly exported X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=9410f65c84a2729caa69862eb689d145f1ef47ca Fix: liblttng-ctl: compat_sync_file_range inadvertantly exported 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 --- diff --git a/src/common/compat/compat-fcntl.c b/src/common/compat/compat-fcntl.c index c6c6b4e99..fc6b2d5ca 100644 --- a/src/common/compat/compat-fcntl.c +++ b/src/common/compat/compat-fcntl.c @@ -17,10 +17,12 @@ #define _LGPL_SOURCE #include +#include #include #ifdef __linux__ +LTTNG_HIDDEN int compat_sync_file_range(int fd, off64_t offset, off64_t nbytes, unsigned int flags) {