diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_archive.c | 3 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_argv.c | 11 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_deps.c | 5 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_dsolib.c | 3 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_executable.c | 3 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_host.c | 3 | ||||
-rw-r--r-- | src/logic/linkcmd/slbt_linkcmd_implib.c | 3 |
7 files changed, 19 insertions, 12 deletions
diff --git a/src/logic/linkcmd/slbt_linkcmd_archive.c b/src/logic/linkcmd/slbt_linkcmd_archive.c index 5826fd7..e3ac657 100644 --- a/src/logic/linkcmd/slbt_linkcmd_archive.c +++ b/src/logic/linkcmd/slbt_linkcmd_archive.c @@ -20,6 +20,7 @@ #include "slibtool_snprintf_impl.h" #include "slibtool_symlink_impl.h" #include "slibtool_spawn_impl.h" +#include "slibtool_visibility_impl.h" static int slbt_exec_link_create_noop_symlink( const struct slbt_driver_ctx * dctx, @@ -69,7 +70,7 @@ static int slbt_exec_link_remove_file( return SLBT_SYSTEM_ERROR(dctx,0); } -int slbt_exec_link_create_archive( +slbt_hidden int slbt_exec_link_create_archive( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, const char * arfilename, 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) { diff --git a/src/logic/linkcmd/slbt_linkcmd_deps.c b/src/logic/linkcmd/slbt_linkcmd_deps.c index bb23e6f..7e72dee 100644 --- a/src/logic/linkcmd/slbt_linkcmd_deps.c +++ b/src/logic/linkcmd/slbt_linkcmd_deps.c @@ -18,8 +18,9 @@ #include "slibtool_mapfile_impl.h" #include "slibtool_metafile_impl.h" #include "slibtool_snprintf_impl.h" +#include "slibtool_visibility_impl.h" -int slbt_get_deps_meta( +slbt_hidden int slbt_get_deps_meta( const struct slbt_driver_ctx * dctx, char * libfilename, int fexternal, @@ -86,7 +87,7 @@ int slbt_get_deps_meta( } -int slbt_exec_link_create_dep_file( +slbt_hidden int slbt_exec_link_create_dep_file( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, char ** altv, diff --git a/src/logic/linkcmd/slbt_linkcmd_dsolib.c b/src/logic/linkcmd/slbt_linkcmd_dsolib.c index f510abe..ed9aa6c 100644 --- a/src/logic/linkcmd/slbt_linkcmd_dsolib.c +++ b/src/logic/linkcmd/slbt_linkcmd_dsolib.c @@ -20,6 +20,7 @@ #include "slibtool_snprintf_impl.h" #include "slibtool_symlink_impl.h" #include "slibtool_spawn_impl.h" +#include "slibtool_visibility_impl.h" static int slbt_linkcmd_exit( struct slbt_deps_meta * depsmeta, @@ -53,7 +54,7 @@ static int slbt_exec_link_remove_file( return SLBT_SYSTEM_ERROR(dctx,0); } -int slbt_exec_link_create_library( +slbt_hidden int slbt_exec_link_create_library( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, const char * dsobasename, diff --git a/src/logic/linkcmd/slbt_linkcmd_executable.c b/src/logic/linkcmd/slbt_linkcmd_executable.c index 9fd3274..a4c3b81 100644 --- a/src/logic/linkcmd/slbt_linkcmd_executable.c +++ b/src/logic/linkcmd/slbt_linkcmd_executable.c @@ -20,6 +20,7 @@ #include "slibtool_snprintf_impl.h" #include "slibtool_symlink_impl.h" #include "slibtool_spawn_impl.h" +#include "slibtool_visibility_impl.h" static int slbt_linkcmd_exit( struct slbt_deps_meta * depsmeta, @@ -66,7 +67,7 @@ static void slbt_emit_fdwrap_dl_path_fixup( strncat(dpfixup,"/",dpfixup_size-1); } -int slbt_exec_link_create_executable( +slbt_hidden int slbt_exec_link_create_executable( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, const char * exefilename) diff --git a/src/logic/linkcmd/slbt_linkcmd_host.c b/src/logic/linkcmd/slbt_linkcmd_host.c index 8fc56b3..bf071d1 100644 --- a/src/logic/linkcmd/slbt_linkcmd_host.c +++ b/src/logic/linkcmd/slbt_linkcmd_host.c @@ -19,8 +19,9 @@ #include "slibtool_metafile_impl.h" #include "slibtool_snprintf_impl.h" #include "slibtool_symlink_impl.h" +#include "slibtool_visibility_impl.h" -int slbt_exec_link_create_host_tag( +slbt_hidden int slbt_exec_link_create_host_tag( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, char * deffilename) diff --git a/src/logic/linkcmd/slbt_linkcmd_implib.c b/src/logic/linkcmd/slbt_linkcmd_implib.c index 9c8890e..810ff10 100644 --- a/src/logic/linkcmd/slbt_linkcmd_implib.c +++ b/src/logic/linkcmd/slbt_linkcmd_implib.c @@ -20,8 +20,9 @@ #include "slibtool_snprintf_impl.h" #include "slibtool_symlink_impl.h" #include "slibtool_spawn_impl.h" +#include "slibtool_visibility_impl.h" -int slbt_exec_link_create_import_library( +slbt_hidden int slbt_exec_link_create_import_library( const struct slbt_driver_ctx * dctx, struct slbt_exec_ctx * ectx, char * impfilename, |