irungentoo/ProjectTox-Core — pull request #546 by redwire (2013-08-30 20:43:49+00:00)
Title: Wrote a quicksort macro and modified sort_list to use it

See https://gist.github.com/redwire/6394042 for a self-contained example of using the quick_sort (as well as how it's applied to sort_list). The gist runs standalone with `gcc -o test -std=c99 [testfile].c && ./test`.