]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.h
typesafe_cb: fix example macro ordering in typesafe_cb_preargs documentation.
[ccan] / tools / tools.h
index 0a6ef8ccc4ac2b9a54fba7bfe9223bb48c4da068..f3e132d97a37110c92da61ba48d3f82e7c46f3e8 100644 (file)
@@ -24,8 +24,7 @@ char **get_deps(const void *ctx, const char *dir, bool recurse,
                char **infofile);
 
 /* This is safer: just looks for ccan/ strings in info */
-char **get_safe_ccan_deps(const void *ctx, const char *dir,
-                         bool recurse, char **infofile);
+char **get_safe_ccan_deps(const void *ctx, const char *dir, bool recurse);
 
 /* This also needs to compile the info file. */
 char **get_libs(const void *ctx, const char *dir,
@@ -43,7 +42,7 @@ bool PRINTF_FMT(4,5) run_command(const void *ctx,
                                 const char *fmt, ...);
 char *run_with_timeout(const void *ctx, const char *cmd,
                       bool *ok, unsigned *timeout_ms);
-char *temp_dir(const void *ctx);
+const char *temp_dir(const void *ctx);
 bool move_file(const char *oldname, const char *newname);
 
 /* From compile.c.