summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_symlink_impl.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-18 07:06:15 +0000
committermidipix <writeonce@midipix.org>2024-02-18 07:37:54 +0000
commit4b56dee0873d57ed2a0891a4a2370d20d46845c3 (patch)
tree36b1645696d42bed98625964f471ad8cbcdb19fe /src/internal/slibtool_symlink_impl.c
parentd603a45e5710cc897681c3395188d7376593dcbe (diff)
downloadslibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.bz2
slibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.xz
code base: set the visilbity of internal library interfaces to hidden.
Diffstat (limited to 'src/internal/slibtool_symlink_impl.c')
-rw-r--r--src/internal/slibtool_symlink_impl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/internal/slibtool_symlink_impl.c b/src/internal/slibtool_symlink_impl.c
index 174cb48..21d4972 100644
--- a/src/internal/slibtool_symlink_impl.c
+++ b/src/internal/slibtool_symlink_impl.c
@@ -14,12 +14,13 @@
#include "slibtool_symlink_impl.h"
#include "slibtool_readlink_impl.h"
#include "slibtool_snprintf_impl.h"
+#include "slibtool_visibility_impl.h"
#define SLBT_DEV_NULL_FLAGS (SLBT_DRIVER_ALL_STATIC \
| SLBT_DRIVER_DISABLE_SHARED \
| SLBT_DRIVER_DISABLE_STATIC)
-int slbt_create_symlink(
+slbt_hidden int slbt_create_symlink(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
const char * target,
@@ -130,7 +131,7 @@ int slbt_create_symlink(
: 0;
}
-int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath)
+slbt_hidden int slbt_symlink_is_a_placeholder(int fdcwd, char * lnkpath)
{
size_t len;
char slink [PATH_MAX];