Browse Source

ccanlint: rename obj_list in examples_compile.c to example_obj_list.

Trivial cleanup, but differentiates from the general obj_list used
elsewhere.
Rusty Russell 14 years ago
parent
commit
271676fecd
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/ccanlint/tests/examples_compile.c

+ 2 - 2
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);
 	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,
 {
 {
 	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. */