6 * order - Simple, common value comparison functions
8 * This implements a number of commonly useful comparison functions in
9 * a form which can be used with qsort() and bsearch() in the standard
10 * library, or asort() and asearch() in ccan amongst other places.
13 * Author: David Gibson <david@gibson.dropbear.id.au>
15 int main(int argc, char *argv[])
17 /* Expect exactly one argument */
21 if (strcmp(argv[1], "depends") == 0) {
22 printf("ccan/typesafe_cb\n");
23 printf("ccan/ptrint\n");
26 if (strcmp(argv[1], "testdepends") == 0) {
27 printf("ccan/array_size\n");
28 printf("ccan/asort\n");