From 33840ef12c2cd8efac4f43b39900b0593af8d107 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 8 Jul 2024 11:17:52 -0400 Subject: [PATCH] Revert "lttng-ctl: Hide symbol introduced by fix" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This reverts commit 83f2539c5c084d853308993a05999016264be90e. The change is only needed for stable branches. Signed-off-by: Jérémie Galarneau Change-Id: I0ef85d857ebc391388d43bb236db7f9fbf3c4a11 --- src/common/lockfile.cpp | 1 - src/common/lockfile.hpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/common/lockfile.cpp b/src/common/lockfile.cpp index e11e718c1..f589f65f2 100644 --- a/src/common/lockfile.cpp +++ b/src/common/lockfile.cpp @@ -64,7 +64,6 @@ static int lock_file(const char *filepath, int fd) #endif /* HAVE_FLOCK */ -LTTNG_HIDDEN int utils_create_lock_file(const char *filepath) { int ret, fd; diff --git a/src/common/lockfile.hpp b/src/common/lockfile.hpp index 67bae3046..1f8e01ddb 100644 --- a/src/common/lockfile.hpp +++ b/src/common/lockfile.hpp @@ -8,8 +8,6 @@ #ifndef COMMON_LOCKFILE_H #define COMMON_LOCKFILE_H -#include - /* * Create lock file to the given path and filename. * Returns the associated file descriptor, -1 on error. @@ -22,7 +20,6 @@ * forks+execve as the child process closes a file descriptor referencing * the file description of 'filepath'. */ -LTTNG_HIDDEN int utils_create_lock_file(const char *filepath); #endif /* COMMON_LOCKFILE_H */ -- 2.34.1