From: Rusty Russell Date: Tue, 7 Apr 2009 02:14:16 +0000 (+0930) Subject: Fix struct line spacing (opening bracked on same line is Linux standard) X-Git-Url: http://git.ozlabs.org/?p=ccan;a=commitdiff_plain;h=914fa0bf6ec0bbe165ddf917e73a1e207743ba1d Fix struct line spacing (opening bracked on same line is Linux standard) --- diff --git a/tools/run_tests.c b/tools/run_tests.c index b4125424..d9696081 100644 --- 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;