X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fasort%2F_info;h=cbd698acc3b0de68205ca61cdd10f5af099c4d81;hp=e848ff1a974d73660200694cf33279448270a490;hb=18fe5ef012a96014b9e61e48616e682b4a5708a2;hpb=faace1758e31f87ee2032cc04c6bb41e3cf8f12e diff --git a/ccan/asort/_info b/ccan/asort/_info index e848ff1a..cbd698ac 100644 --- a/ccan/asort/_info +++ b/ccan/asort/_info @@ -11,7 +11,7 @@ * * asort does both. * - * Licence: LGPL + * License: LGPL * Author: Rusty Russell * * Example: @@ -19,12 +19,12 @@ * #include * #include * - * static int cmp(const char **a, const char **n, bool *casefold) + * static int cmp(char *const *a, char *const *n, bool *casefold) * { * if (*casefold) - * return strcasecmp(*a, *b); + * return strcasecmp(*a, *n); * else - * return strcmp(*a, *b); + * return strcmp(*a, *n); * } * * int main(int argc, char *argv[])