* static bool dump(const char *member, void *unused)
* {
* printf("%s ", member);
- * return false;
+ * return true; // Keep going with iteration.
* }
*
* int main(void)
* for (word = strtok(file, " \t\r\n");
* word;
* word = strtok(NULL, " \t\r\n")) {
- * strset_set(&words, word);
+ * strset_add(&words, word);
* }
* strset_iterate(&words, dump, NULL);
* printf("\n");
* // Given "foo bar" outputs "bar foo "
* // Given "foo foo bar" outputs "bar foo "
*
- * License: Public domain (but some dependencies are LGPL!)
+ * License: CC0 (but some dependencies are LGPL!)
* Author: Rusty Russell <rusty@rustcorp.com.au>
* Ccanlint:
* license_depends_compat FAIL