projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b73d11
)
Fix struct line spacing (opening bracked on same line is Linux standard)
author
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 7 Apr 2009 02:14:16 +0000
(11:44 +0930)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Tue, 7 Apr 2009 02:14:16 +0000
(11:44 +0930)
tools/run_tests.c
patch
|
blob
|
history
diff --git
a/tools/run_tests.c
b/tools/run_tests.c
index b4125424a60859f71bb50e7bfaf9384e54a0e1c2..d9696081f753654dd457b8b8c2a413af6132a1de 100644
(file)
--- a/
tools/run_tests.c
+++ b/
tools/run_tests.c
@@
-16,23
+16,20
@@
static struct test *tests = NULL;
static struct obj *objs = NULL;
static int verbose;
-struct test_type
-{
+struct test_type {
const char *name;
void (*buildfn)(const char *dir, struct test_type *t, const char *name,
const char *apiobj);
void (*runfn)(const char *name);
};
-struct test
-{
+struct test {
struct test *next;
struct test_type *type;
char *name;
};
-struct obj
-{
+struct obj {
struct obj *next;
bool generate;
char *name;