diff options
author | midipix <writeonce@midipix.org> | 2024-02-18 07:06:15 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-18 07:37:54 +0000 |
commit | 4b56dee0873d57ed2a0891a4a2370d20d46845c3 (patch) | |
tree | 36b1645696d42bed98625964f471ad8cbcdb19fe /src/driver/slbt_host_params.c | |
parent | d603a45e5710cc897681c3395188d7376593dcbe (diff) | |
download | slibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.bz2 slibtool-4b56dee0873d57ed2a0891a4a2370d20d46845c3.tar.xz |
code base: set the visilbity of internal library interfaces to hidden.
Diffstat (limited to 'src/driver/slbt_host_params.c')
-rw-r--r-- | src/driver/slbt_host_params.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/driver/slbt_host_params.c b/src/driver/slbt_host_params.c index 9fe8153..d708028 100644 --- a/src/driver/slbt_host_params.c +++ b/src/driver/slbt_host_params.c @@ -16,6 +16,7 @@ #include <slibtool/slibtool.h> #include "slibtool_driver_impl.h" #include "slibtool_errinfo_impl.h" +#include "slibtool_visibility_impl.h" #include "slibtool_ar_impl.h" @@ -130,7 +131,7 @@ static void slbt_spawn_ar(char ** argv, int * ecode) } -int slbt_init_host_params( +slbt_hidden int slbt_init_host_params( const struct slbt_driver_ctx * dctx, const struct slbt_common_ctx * cctx, struct slbt_host_strs * drvhost, @@ -498,7 +499,7 @@ static void slbt_free_host_tool_argv(char ** argv) free(argv); } -void slbt_free_host_params(struct slbt_host_strs * host) +slbt_hidden void slbt_free_host_params(struct slbt_host_strs * host) { if (host->machine) free(host->machine); @@ -538,7 +539,7 @@ void slbt_free_host_params(struct slbt_host_strs * host) } -void slbt_init_flavor_settings( +slbt_hidden void slbt_init_flavor_settings( struct slbt_common_ctx * cctx, const struct slbt_host_params * ahost, struct slbt_flavor_settings * psettings) @@ -575,7 +576,7 @@ void slbt_init_flavor_settings( } -int slbt_init_ldrpath( +slbt_hidden int slbt_init_ldrpath( struct slbt_common_ctx * cctx, struct slbt_host_params * host) { |