summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/stdlib.h
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@secunet.com>2011-07-07 12:02:10 +0200
committerPatrick Georgi <patrick@georgi-clan.de>2011-07-11 20:23:56 +0200
commit537cacfa04c9dc56cd608012a73d95ab342d2f81 (patch)
tree1507a101007af7e5265177dbcbc3d4d2e804a417 /payloads/libpayload/include/stdlib.h
parent40d99bc781fe71cf67090d27695b98cf6c2e9a45 (diff)
libpayload: Add qsort()
It's taken from OpenBSD and thus appropriately licensed (and reasonably tested). Change-Id: I5767600c9865d39e56c220b52e045f3501875b98 Signed-off-by: Patrick Georgi <patrick.georgi@secunet.com> Reviewed-on: http://review.coreboot.org/88 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'payloads/libpayload/include/stdlib.h')
-rw-r--r--payloads/libpayload/include/stdlib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/include/stdlib.h b/payloads/libpayload/include/stdlib.h
index 6fb73ad98c..52162fe74e 100644
--- a/payloads/libpayload/include/stdlib.h
+++ b/payloads/libpayload/include/stdlib.h
@@ -142,4 +142,6 @@ void exit(int status) __attribute__ ((noreturn));
/** @} */
+void qsort(void *aa, size_t n, size_t es, int (*cmp)(const void *, const void *));
+
#endif