]> git.ozlabs.org Git - ccan/blobdiff - tools/manifest.h
tools: manifest.c should use path_canon.
[ccan] / tools / manifest.h
index 86e1f20566db89c8540f84ea2d288d55995699c1..d2de6437ed81d6ebb5197a0a2a56bbee528759d8 100644 (file)
@@ -82,8 +82,9 @@ struct ccan_file {
        char *simplified;
 };
 
-/* A new ccan_file, with the given name (tal_steal onto returned value). */
-struct ccan_file *new_ccan_file(const void *ctx, const char *dir, char *name);
+/* A new ccan_file, with the given dir and name (either can be take()). */
+struct ccan_file *new_ccan_file(const void *ctx,
+                               const char *dir, const char *name);
 
 /* Use this rather than accessing f->contents directly: loads on demand. */
 const char *get_ccan_file_contents(struct ccan_file *f);