summaryrefslogtreecommitdiff
path: root/src/arbits
diff options
context:
space:
mode:
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;