diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-26 18:10:20 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-26 18:10:20 -0700 |
commit | bff972ea91f40482c2abb28d9ad1d1a6fe285615 (patch) | |
tree | db85a1693ec1ca8b7908071b664bab79af92b5f8 /include/libn.h | |
parent | ec21325b36adc7f52179ea010ff7bb19d121a6c1 (diff) |
sys/libn/sort.c
Diffstat (limited to 'include/libn.h')
-rw-r--r-- | include/libn.h | 7 |
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[]); |