typedef int (*cmpfun)(const void *, const void *); #define call_cmp(v1,v2) ((*cmp)(v1,v2)) #include "qsort_impl.h"