summaryrefslogtreecommitdiff
path: root/src/arbits
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-03-16 17:39:17 +0000
committermidipix <writeonce@midipix.org>2024-03-16 17:39:17 +0000
commitfbd10d2262e87eb93f8fe9c17bde23a1dcdf6e74 (patch)
treec91dd7eb56e194ad3cd57e50038258e7ab939522 /src/arbits
parent886c09eb7caa4f82d98ca87dab24418a344f5ae7 (diff)
downloadslibtool-fbd10d2262e87eb93f8fe9c17bde23a1dcdf6e74.tar.bz2
slibtool-fbd10d2262e87eb93f8fe9c17bde23a1dcdf6e74.tar.xz
code base: rename qsort-related internal strcmp as slbt_{coff}_qsort_strcmp().
Diffstat (limited to 'src/arbits')
-rw-r--r--src/arbits/slbt_archive_mapstrv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arbits/slbt_archive_mapstrv.c b/src/arbits/slbt_archive_mapstrv.c
index c8c27e9..e97db76 100644
--- a/src/arbits/slbt_archive_mapstrv.c
+++ b/src/arbits/slbt_archive_mapstrv.c
@@ -13,7 +13,7 @@
#include "slibtool_ar_impl.h"
#include "slibtool_coff_impl.h"
-static int slbt_strcmp(const void * a, const void * b)
+static int slbt_qsort_strcmp(const void * a, const void * b)
{
return strcmp(*(const char **)a,*(const char **)b);
}
@@ -39,7 +39,7 @@ slbt_hidden int slbt_update_mapstrv(
for (nsyms=0,symv=mctx->symstrv; *symv; symv++)
mapstrv[nsyms++] = *symv;
- qsort(mapstrv,nsyms,sizeof(const char *),fcoff ? slbt_coff_strcmp : slbt_strcmp);
+ qsort(mapstrv,nsyms,sizeof(const char *),fcoff ? slbt_coff_qsort_strcmp : slbt_qsort_strcmp);
mctx->mapstrv = mapstrv;