]> git.ozlabs.org Git - ccan/blobdiff - ccan/str_talloc/_info
str_talloc: remove unused ccan/noerr dependency.
[ccan] / ccan / str_talloc / _info
index aaf9d996d0f5553ef5fc554a44bd39631e5e2055..bcba699caf68728b7a7322123cef499424735f35 100644 (file)
@@ -25,7 +25,7 @@
  *             textfile = grab_file(NULL, argv[1], NULL);
  *             if (!textfile)
  *                     err(1, "Failed reading %s", argv[1]);
- *             lines = strsplit(textfile, textfile, "\n", NULL);
+ *             lines = strsplit(textfile, textfile, "\n");
  *     
  *             // Join them back together with two linefeeds.
  *             printf("%s", strjoin(textfile, lines, "\n\n"));
@@ -35,7 +35,8 @@
  *             return 0;
  *     }
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (v2.1 or any later version)
+ * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])
 {
@@ -43,8 +44,8 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/str\n");
                printf("ccan/talloc\n");
-               printf("ccan/noerr\n");
                return 0;
        }