]> git.ozlabs.org Git - ccan/blobdiff - ccan/sparse_bsearch/_info
various: make the _info License: wording uniform for GPL variants.
[ccan] / ccan / sparse_bsearch / _info
index 9c5e84118d08f20abd4d1f1cfdb3e81f1219b190..a2b77c100370008c7ddc7fc6b5a9752fd1592cfb 100644 (file)
@@ -15,7 +15,7 @@
  * 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;
  *     }
@@ -26,7 +26,7 @@
  *     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!
@@ -49,6 +49,9 @@
  *             }
  *             return 0;
  *     }
+ *
+ * License: LGPL (v2.1 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
 {