Commit 271676fe authored by Rusty Russell's avatar Rusty Russell

ccanlint: rename obj_list in examples_compile.c to example_obj_list.

Trivial cleanup, but differentiates from the general obj_list used
elsewhere.
parent adc9909e
...@@ -71,7 +71,7 @@ static void add_dep(struct manifest ***deps, const char *basename) ...@@ -71,7 +71,7 @@ static void add_dep(struct manifest ***deps, const char *basename)
} }
} }
static char *obj_list(struct manifest *m, struct ccan_file *f) static char *example_obj_list(struct manifest *m, struct ccan_file *f)
{ {
struct manifest **deps = talloc_array(f, struct manifest *, 0); struct manifest **deps = talloc_array(f, struct manifest *, 0);
char **lines, *list; char **lines, *list;
...@@ -121,7 +121,7 @@ static bool compile(const void *ctx, ...@@ -121,7 +121,7 @@ static bool compile(const void *ctx,
{ {
file->compiled = maybe_temp_file(ctx, "", keep, file->fullname); file->compiled = maybe_temp_file(ctx, "", keep, file->fullname);
if (!compile_and_link(ctx, file->fullname, ccan_dir, if (!compile_and_link(ctx, file->fullname, ccan_dir,
obj_list(m, file), example_obj_list(m, file),
compiler, cflags, compiler, cflags,
lib_list(m), file->compiled, output)) { lib_list(m), file->compiled, output)) {
/* Don't keep failures. */ /* Don't keep failures. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment