From 9410f65c84a2729caa69862eb689d145f1ef47ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 2 Oct 2019 17:53:58 -0400 Subject: [PATCH] Fix: liblttng-ctl: compat_sync_file_range inadvertantly exported MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- src/common/compat/compat-fcntl.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- 2.34.1