mlibc: Tinycc support: qsort.
authorJan Nieuwenhuizen <janneke@gnu.org>
Mon, 4 Dec 2017 18:01:39 +0000 (19:01 +0100)
committerJan Nieuwenhuizen <janneke@gnu.org>
Mon, 4 Dec 2017 18:01:39 +0000 (19:01 +0100)
commit05c33b052a0235a165ee8221253ce3f544db335d
treedbcbfeb8a04270bd7f19d2d7a6cdd9d1c5af57ce
parent8b5e1dde3c361d13c9549bcd3b1878c09dfd903d
mlibc: Tinycc support: qsort.

* lib/libc+tcc.c (qswap, qpart): New function
  (qsort): Implement.
* scaffold/tests/81-qsort.c: Test it.
* make.scm ("81-qsort"): Build it.
lib/libc+tcc.c
make.scm
scaffold/tests/81-qsort.c [new file with mode: 0644]