summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arbits/slbt_archive_mapstrv.c4
-rw-r--r--src/internal/slibtool_coff_impl.c2
-rw-r--r--src/internal/slibtool_coff_impl.h2
3 files changed, 4 insertions, 4 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;
diff --git a/src/internal/slibtool_coff_impl.c b/src/internal/slibtool_coff_impl.c
index 8d405ac..ac6a2fd 100644
--- a/src/internal/slibtool_coff_impl.c
+++ b/src/internal/slibtool_coff_impl.c
@@ -7,7 +7,7 @@
#include <string.h>
#include "slibtool_visibility_impl.h"
-slbt_hidden int slbt_coff_strcmp(const void * a, const void * b)
+slbt_hidden int slbt_coff_qsort_strcmp(const void * a, const void * b)
{
const char * dot;
const char * mark;
diff --git a/src/internal/slibtool_coff_impl.h b/src/internal/slibtool_coff_impl.h
index c733b0f..b08c858 100644
--- a/src/internal/slibtool_coff_impl.h
+++ b/src/internal/slibtool_coff_impl.h
@@ -1,6 +1,6 @@
#ifndef SLIBTOOL_COFF_IMPL_H
#define SLIBTOOL_COFF_IMPL_H
-int slbt_coff_strcmp(const void * a, const void * b);
+int slbt_coff_qsort_strcmp(const void * a, const void * b);
#endif