]> git.ozlabs.org Git - ccan/commit
asort: handle !HAVE_NESTED_FUNCTIONS
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 05:29:40 +0000 (15:59 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 1 Mar 2011 05:29:40 +0000 (15:59 +1030)
commit870fa5e89f066d3c98f8f35e2fba2e310cfefaf8
tree43db0a796e8f8896ab045a0773c7e8fa50a81ec0
parent9975a26bad25cdefaefb52705fed76b0baae9ec5
asort: handle !HAVE_NESTED_FUNCTIONS

Andreas Schlick reports that PaX et. al. dislike trampolines, so open-code
qsort from glibc.

Interestingly, _quicksort from glibc seems to have a void * parameter, but
I can't find any information on it.
ccan/asort/asort.c