]> git.ozlabs.org Git - ccan/blobdiff - ccan/sparse_bsearch/_info
typesafe_cb: simplify, preserve namespace.
[ccan] / ccan / sparse_bsearch / _info
index 7d7164f04dff4a22bf9fbae2f94f5365ab4733ca..13d241970dc6fa9b7abb3ad70cade8655909edcc 100644 (file)
@@ -15,7 +15,7 @@
  * Example:
  *     #include <ccan/sparse_bsearch/sparse_bsearch.h>
  *
  * Example:
  *     #include <ccan/sparse_bsearch/sparse_bsearch.h>
  *
- *     static bool val_valid(unsigned int *val)
+ *     static bool val_valid(const unsigned int *val)
  *     {
  *             return *val != 0;
  *     }
  *     {
  *             return *val != 0;
  *     }
@@ -26,7 +26,7 @@
  *     static unsigned int values[] = { 1, 7, 11, 1235, 99999 };
  *
  *     // Return true if this value is in set, and remove it.
  *     static unsigned int values[] = { 1, 7, 11, 1235, 99999 };
  *
  *     // Return true if this value is in set, and remove it.
- *     bool remove_from_values(unsigned int val)
+ *     static bool remove_from_values(unsigned int val)
  *     {
  *             unsigned int *p;
  *             // We use 5 here, but ccan/array_size.h is better!
  *     {
  *             unsigned int *p;
  *             // We use 5 here, but ccan/array_size.h is better!
@@ -50,7 +50,7 @@
  *             return 0;
  *     }
  *
  *             return 0;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])