tdb2: copy tdb1's changed expansion logic.
[ccan] / ccan / asort / _info
index 3b71998aa0d00df2c09e126821b0d7377d744a65..c49f6dde4e247051ce57d8576a62d7feae017def 100644 (file)
  *
  * asort does both.
  *
- * Licence: LGPL
+ * License: LGPL (v2.1 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
  *     #include <ccan/asort/asort.h>
  *     #include <stdio.h>
  *     #include <string.h>
  *     
- *     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[])