Revert "lttng-ctl: Hide symbol introduced by fix"
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Jul 2024 15:17:52 +0000 (11:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 8 Jul 2024 15:18:18 +0000 (11:18 -0400)
This reverts commit 83f2539c5c084d853308993a05999016264be90e.
The change is only needed for stable branches.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I0ef85d857ebc391388d43bb236db7f9fbf3c4a11

src/common/lockfile.cpp
src/common/lockfile.hpp

index e11e718c15774fde382d7957b6dfd2dcc7a12d1d..f589f65f29376ba8ce662e21774f6950a170c285 100644 (file)
@@ -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;
index 67bae3046d1a7e75fcda1b2fc4a5eba9832d4fd2..1f8e01ddb3eaaadb59abeaed946d34f0f9332f2c 100644 (file)
@@ -8,8 +8,6 @@
 #ifndef COMMON_LOCKFILE_H
 #define COMMON_LOCKFILE_H
 
-#include <common/macros.h>
-
 /*
  * 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 */
This page took 0.026075 seconds and 4 git commands to generate.