projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adc9909
)
ccanlint: rename obj_list in examples_compile.c to example_obj_list.
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:53:39 +0000
(09:23 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:53:39 +0000
(09:23 +0930)
Trivial cleanup, but differentiates from the general obj_list used
elsewhere.
tools/ccanlint/tests/examples_compile.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/examples_compile.c
b/tools/ccanlint/tests/examples_compile.c
index 4b6f4d624be2ead86e1a66a09d8f678bad8cb627..646e5ae3325a575f94e83ab496fcef66792016a6 100644
(file)
--- 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. */