]> git.ozlabs.org Git - ccan/blobdiff - ccan/avl/_info
avl: Use definitions from order module
[ccan] / ccan / avl / _info
index 94b3d2eb728c2cff0b5147b0e6ed54c13465bc28..c7fc98a46ff2f97327d9c92518a550651c255432 100644 (file)
@@ -1,5 +1,6 @@
-#include <string.h>
 #include "config.h"
+#include <stdio.h>
+#include <string.h>
 
 /**
  * avl - Key-value dictionary based on AVL trees
@@ -32,7 +33,7 @@
  * 
  * int main(void)
  * {
- *     AVL          *avl = avl_new((AvlCompare) strcmp);
+ *     AVL          *avl = avl_new((total_order_noctx_cb) strcmp);
  *     AvlIter       i;
  *     struct tally *tally;
  *     char          line[256];
@@ -74,7 +75,7 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
-               /* Nothing */
+               printf("ccan/order\n");
                return 0;
        }