summaryrefslogtreecommitdiff
path: root/src/bootchart/svg.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-12-03 22:27:45 +0100
commitf168c27313e4d7b0aabee037dc9c78a5799f0597 (patch)
treedf9ad884b2fdf45f519d04075dc67c8b82bb2915 /src/bootchart/svg.c
parent53ab52ac6d2a12ba24f3cfd618c12c99871947ed (diff)
trivial coding style clean ups
- Add space between if/for and the opening parentheses - Place the opening brace on same line as the function (not for udev) From the CODING_STYLE Try to use this: void foo() { } instead of this: void foo() { }
Diffstat (limited to 'src/bootchart/svg.c')
-rw-r--r--src/bootchart/svg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c
index c088cad7f5..c21f6e86b4 100644
--- a/src/bootchart/svg.c
+++ b/src/bootchart/svg.c
@@ -509,7 +509,7 @@ static void svg_pss_graph(void) {
continue;
enc_name = xml_comment_encode(ps->name);
- if(!enc_name)
+ if (!enc_name)
continue;
svg("<!-- %s [%d] pss=", enc_name, ps->pid);
@@ -1009,7 +1009,7 @@ static void svg_ps_bars(void) {
int t;
enc_name = xml_comment_encode(ps->name);
- if(!enc_name)
+ if (!enc_name)
continue;
/* leave some trace of what we actually filtered etc. */