commit | 54c6977e9ca41fb38b45f1746d90f2806be3b5cb | [log] [tgz] |
---|---|---|
author | Wolfgang Denk <wd@denx.de> | Sun Jun 13 01:45:10 2010 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Sun Sep 19 19:29:47 2010 +0200 |
tree | 66b23eabbb3a2569a69d7247590b53894c055e8c | |
parent | 65cd3fa81ff48cd44bcb3d9baf646dade15b9131 [diff] [blame] |
Add qsort - add support for sorting data arrays Code adapted from uClibc-0.9.30.3 Signed-off-by: Wolfgang Denk <wd@denx.de>
diff --git a/include/common.h b/include/common.h index 6a79ec2..2f85d12 100644 --- a/include/common.h +++ b/include/common.h
@@ -631,6 +631,10 @@ return (string_to_ip(getenv(var))); } +/* lib/qsort.c */ +void qsort(void *base, size_t nmemb, size_t size, + int(*compar)(const void *, const void *)); + /* lib/time.c */ void udelay (unsigned long);