]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/_info
ccanlint: enhance and streamline "output" testing lines.
[ccan] / ccan / io / _info
index 7fc6ac61c1e29a3800798315a73bce4b8d856d85..fe49df5c8d0418094b3630af88bc49e5f9493a5b 100644 (file)
@@ -11,7 +11,7 @@
  * plans.
  *
  * Example:
- * // Given tr A-Z a-z outputs tr a-z a-z
+ * // Given "tr A-Z a-z" outputs tr a-z a-z
  * #include <ccan/io/io.h>
  * #include <ccan/err/err.h>
  * #include <assert.h>
  *     io_set_finish(reader, finish, &from);
  *     io_new_conn(NULL, STDOUT_FILENO, write_out, &from);
  *
- *     io_loop();
+ *     io_loop(NULL, NULL);
  *     wait(&status);
  *
  *     return WIFEXITED(status) ? WEXITSTATUS(status) : 2;
@@ -133,7 +133,11 @@ int main(int argc, char *argv[])
                return 1;
 
        if (strcmp(argv[1], "depends") == 0) {
+               printf("ccan/container_of\n");
+               printf("ccan/list\n");
                printf("ccan/tal\n");
+               printf("ccan/time\n");
+               printf("ccan/timer\n");
                printf("ccan/typesafe_cb\n");
                return 0;
        }