From bff972ea91f40482c2abb28d9ad1d1a6fe285615 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sun, 26 Apr 2020 18:10:20 -0700 Subject: sys/libn/sort.c --- include/libn.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') 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[]); -- cgit v1.2.1