summaryrefslogtreecommitdiff
path: root/libc/stdlib/stdlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/stdlib.c')
-rw-r--r--libc/stdlib/stdlib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c
index fb8ce186b..04c85d32f 100644
--- a/libc/stdlib/stdlib.c
+++ b/libc/stdlib/stdlib.c
@@ -750,7 +750,7 @@ void *bsearch(const void *key, const void *base, size_t /* nmemb */ high,
* calculation, as well as to reduce the generated code size with
* bcc and gcc. */
-void qsort (void *base,
+void attribute_hidden __qsort (void *base,
size_t nel,
size_t width,
int (*comp)(const void *, const void *))
@@ -795,6 +795,7 @@ void qsort (void *base,
} while (wgap);
}
}
+strong_alias(__qsort,qsort)
/* ---------- original snippets version below ---------- */