aboutsummaryrefslogtreecommitdiff
path: root/include/libn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libn.h')
-rw-r--r--include/libn.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libn.h b/include/libn.h
index b994159..4b6d702 100644
--- a/include/libn.h
+++ b/include/libn.h
@@ -286,8 +286,13 @@ error gz·flush(gz·Stream *s);
vlong gz·seek(gz·Stream *s, long off, enum SeekPos whence);
// -----------------------------------------------------------------------------
-// Error handling functions.
+// error handling functions
void errorf(const byte* fmt, ...);
#define panicf(...) (errorf(__VA_ARGS__), assert(0))
+
+// -----------------------------------------------------------------------------
+// sorting
+
+void sort·ints(uintptr n, int arr[]);