X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.h;h=f3e132d97a37110c92da61ba48d3f82e7c46f3e8;hp=0a6ef8ccc4ac2b9a54fba7bfe9223bb48c4da068;hb=60824f8a0f758dc7808eb31cc83434ea78f44ed1;hpb=104125b2dd0a044fb3d68f9bc3b1b18c9f32ae2b diff --git a/tools/tools.h b/tools/tools.h index 0a6ef8cc..f3e132d9 100644 --- a/tools/tools.h +++ b/tools/tools.h @@ -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.