]> git.ozlabs.org Git - ccan/blobdiff - ccan/noerr/_info
ttxml: removed cruft from tests
[ccan] / ccan / noerr / _info
index 9f852957b5f344cd411d31837a2ebe67931c137e..7310e1bd4693d1c296760eeae27cf12ba017d2d8 100644 (file)
@@ -19,7 +19,7 @@
  *     #include <errno.h>
  *     #include <ccan/noerr/noerr.h>
  *
  *     #include <errno.h>
  *     #include <ccan/noerr/noerr.h>
  *
- *     bool write_string_to_file(const char *file, const char *string)
+ *     static bool write_string_to_file(const char *file, const char *string)
  *     {
  *             int ret, fd = open(file, O_WRONLY|O_CREAT|O_EXCL, 0600);
  *             if (fd < 0)
  *     {
  *             int ret, fd = open(file, O_WRONLY|O_CREAT|O_EXCL, 0600);
  *             if (fd < 0)
@@ -45,7 +45,7 @@
  *             return true;
  *     }
  *
  *             return true;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: Public domain
  * 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[])