tdb2: fix msync() arg
[ccan] / ccan / asort / _info
index e848ff1a974d73660200694cf33279448270a490..cbd698acc3b0de68205ca61cdd10f5af099c4d81 100644 (file)
@@ -11,7 +11,7 @@
  *
  * asort does both.
  *
- * Licence: LGPL
+ * License: LGPL
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:
  *     #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[])