summaryrefslogtreecommitdiff
path: root/libbacktrace/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbacktrace/internal.h')
-rw-r--r--libbacktrace/internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libbacktrace/internal.h b/libbacktrace/internal.h
index dd109db24ae..1ae43177f38 100644
--- a/libbacktrace/internal.h
+++ b/libbacktrace/internal.h
@@ -196,6 +196,11 @@ extern int backtrace_close (int descriptor,
backtrace_error_callback error_callback,
void *data);
+/* Sort without using memory. */
+
+extern void backtrace_qsort (void *base, size_t count, size_t size,
+ int (*compar) (const void *, const void *));
+
/* Allocate memory. This is like malloc. */
extern void *backtrace_alloc (struct backtrace_state *state, size_t size,