aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-26 18:10:20 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-26 18:10:20 -0700
commitbff972ea91f40482c2abb28d9ad1d1a6fe285615 (patch)
treedb85a1693ec1ca8b7908071b664bab79af92b5f8 /include
parentec21325b36adc7f52179ea010ff7bb19d121a6c1 (diff)
sys/libn/sort.c
Diffstat (limited to 'include')
-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[]);