diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-02-25 18:48:10 +0100 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2011-05-14 13:43:48 +0200 |
commit | 4b95e82a32f07ec80445dd4103103ebaa356c89b (patch) | |
tree | 236a7e2ba010872c1467ea493e90b91378a483e9 /include/bsd | |
parent | c766e58acf3a894644291d21f9c98d322ef8cd11 (diff) | |
download | libbsd-4b95e82a32f07ec80445dd4103103ebaa356c89b.tar.gz |
Add new radixsort and sradixsort functions
Taken from FreeBSD.
Diffstat (limited to 'include/bsd')
-rw-r--r-- | include/bsd/stdlib.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bsd/stdlib.h b/include/bsd/stdlib.h index bfe3027..ea790bc 100644 --- a/include/bsd/stdlib.h +++ b/include/bsd/stdlib.h @@ -54,6 +54,10 @@ void setprogname(const char *); int heapsort (void *, size_t, size_t, int (*)(const void *, const void *)); int mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void *)); +int radixsort(const unsigned char **base, int nmemb, + const unsigned char *table, unsigned endbyte); +int sradixsort(const unsigned char **base, int nmemb, + const unsigned char *table, unsigned endbyte); void *reallocf(void *ptr, size_t size); |