summaryrefslogtreecommitdiff
path: root/src/logic/linkcmd/slbt_linkcmd_argv.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/logic/linkcmd/slbt_linkcmd_argv.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/logic/linkcmd/slbt_linkcmd_argv.c')
-rw-r--r--src/logic/linkcmd/slbt_linkcmd_argv.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_argv.c b/src/logic/linkcmd/slbt_linkcmd_argv.c
index 0861a15..987bfc8 100644
--- a/src/logic/linkcmd/slbt_linkcmd_argv.c
+++ b/src/logic/linkcmd/slbt_linkcmd_argv.c
@@ -21,6 +21,7 @@
#include "slibtool_snprintf_impl.h"
#include "slibtool_symlink_impl.h"
#include "slibtool_readlink_impl.h"
+#include "slibtool_visibility_impl.h"
static int slbt_linkcmd_exit(
@@ -97,7 +98,7 @@ static int slbt_emit_fdwrap_amend_dl_path(
}
-bool slbt_adjust_object_argument(
+slbt_hidden bool slbt_adjust_object_argument(
char * arg,
bool fpic,
bool fany,
@@ -164,7 +165,7 @@ bool slbt_adjust_object_argument(
}
-bool slbt_adjust_wrapper_argument(
+slbt_hidden bool slbt_adjust_wrapper_argument(
char * arg,
bool fpic)
{
@@ -200,7 +201,7 @@ bool slbt_adjust_wrapper_argument(
}
-int slbt_adjust_linker_argument(
+slbt_hidden int slbt_adjust_linker_argument(
const struct slbt_driver_ctx * dctx,
char * arg,
char ** xarg,
@@ -269,7 +270,7 @@ int slbt_adjust_linker_argument(
}
-int slbt_exec_link_adjust_argument_vector(
+slbt_hidden int slbt_exec_link_adjust_argument_vector(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx,
struct slbt_deps_meta * depsmeta,
@@ -559,7 +560,7 @@ int slbt_exec_link_adjust_argument_vector(
}
-int slbt_exec_link_finalize_argument_vector(
+slbt_hidden int slbt_exec_link_finalize_argument_vector(
const struct slbt_driver_ctx * dctx,
struct slbt_exec_ctx * ectx)
{