git.openpandora.org
/
pandora-u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add qsort - add support for sorting data arrays
[pandora-u-boot.git]
/
include
/
common.h
diff --git
a/include/common.h
b/include/common.h
index
6a79ec2
..
2f85d12
100644
(file)
--- a/
include/common.h
+++ b/
include/common.h
@@
-631,6
+631,10
@@
static inline IPaddr_t getenv_IPaddr (char *var)
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);