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-Tag: v2.11.0~37 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ab7ef45c32d83e8b3957f37697fd79dfa88f7f28;p=lttng-tools.git 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) {