From 271676fecdb2fb079374b9e3fe03e5c53e7f0f23 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 30 Aug 2011 09:23:39 +0930 Subject: [PATCH] ccanlint: rename obj_list in examples_compile.c to example_obj_list. Trivial cleanup, but differentiates from the general obj_list used elsewhere. --- tools/ccanlint/tests/examples_compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/ccanlint/tests/examples_compile.c b/tools/ccanlint/tests/examples_compile.c index 4b6f4d62..646e5ae3 100644 --- a/tools/ccanlint/tests/examples_compile.c +++ b/tools/ccanlint/tests/examples_compile.c @@ -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); char **lines, *list; @@ -121,7 +121,7 @@ static bool compile(const void *ctx, { file->compiled = maybe_temp_file(ctx, "", keep, file->fullname); if (!compile_and_link(ctx, file->fullname, ccan_dir, - obj_list(m, file), + example_obj_list(m, file), compiler, cflags, lib_list(m), file->compiled, output)) { /* Don't keep failures. */ -- 2.39.2