tdb2: fix msync() arg
[ccan] / ccan / asort / _info
index 3b71998aa0d00df2c09e126821b0d7377d744a65..cbd698acc3b0de68205ca61cdd10f5af099c4d81 100644 (file)
  *
  * asort does both.
  *
- * Licence: LGPL
+ * License: LGPL
+ * 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[])