X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Favl%2F_info;h=c7fc98a46ff2f97327d9c92518a550651c255432;hp=94b3d2eb728c2cff0b5147b0e6ed54c13465bc28;hb=712dc43d55741bc11490abae8f7edbb8ec982f0d;hpb=1c92b49f17c58ebad46ba8a4f628ddd3a09d46e7 diff --git a/ccan/avl/_info b/ccan/avl/_info index 94b3d2eb..c7fc98a4 100644 --- a/ccan/avl/_info +++ b/ccan/avl/_info @@ -1,5 +1,6 @@ -#include #include "config.h" +#include +#include /** * 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; }