diff options
author | midipix <writeonce@midipix.org> | 2024-02-22 06:13:35 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-22 06:17:19 +0000 |
commit | 279932401cb1e799f2e8bdae7eae47b788c3001d (patch) | |
tree | 19b4beceec3e7a96f1235dd06a3772f5f84d74e3 /src/arbits/slbt_archive_mapfile.c | |
parent | b7eee903624f0208c70bc1ea928dce965db8deba (diff) | |
download | slibtool-279932401cb1e799f2e8bdae7eae47b788c3001d.tar.bz2 slibtool-279932401cb1e799f2e8bdae7eae47b788c3001d.tar.xz |
internals: slbt_is_strong_coff_symbol(): from _static_ to a _hidden_ function.
Diffstat (limited to 'src/arbits/slbt_archive_mapfile.c')
-rw-r--r-- | src/arbits/slbt_archive_mapfile.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c index a684a52..379e278 100644 --- a/src/arbits/slbt_archive_mapfile.c +++ b/src/arbits/slbt_archive_mapfile.c @@ -13,6 +13,7 @@ #include "slibtool_driver_impl.h" #include "slibtool_dprintf_impl.h" #include "slibtool_errinfo_impl.h" +#include "slibtool_pecoff_impl.h" #include "slibtool_ar_impl.h" /********************************************************/ @@ -24,13 +25,6 @@ /* an underscore (where relevant) is not necessary. */ /********************************************************/ -static int slbt_is_strong_coff_symbol(const char * sym) -{ - return strncmp(sym,"__imp_",6) - && strncmp(sym,".weak.",6) - && strncmp(sym,".refptr.",8); -} - static int slbt_ar_output_mapfile_impl( const struct slbt_driver_ctx * dctx, struct slbt_archive_meta_impl * mctx, |