summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDawid Gajownik <gajownik@gmail.com>2015-08-06 17:12:19 -0300
committerBryce Harrington <bryce@osg.samsung.com>2015-08-07 12:01:22 -0700
commit74a635b1ecf5efa437b5c8dc194a45528ce959ce (patch)
tree7fc0f88638e9906f9a93cb83f5a2689f434af4f6 /tools
parent5e653caa4a45a313a968a6a52437c0c382dc8b34 (diff)
downloadweston-74a635b1ecf5efa437b5c8dc194a45528ce959ce.tar.gz
Coding style fixes
- opening braces are on the same line as the if statement - opening braces are not on the same line as the function name - space between for/while/if and opening parenthesis Signed-off-by: Dawid Gajownik <gajownik@gmail.com> Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/zunitc/src/zuc_junit_reporter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/zunitc/src/zuc_junit_reporter.c b/tools/zunitc/src/zuc_junit_reporter.c
index 5c30eaab..a33b33f5 100644
--- a/tools/zunitc/src/zuc_junit_reporter.c
+++ b/tools/zunitc/src/zuc_junit_reporter.c
@@ -218,7 +218,8 @@ emit_event(xmlNodePtr parent, struct zuc_event *event)
* @return the formatted time string upon success, NULL otherwise.
*/
static char *
-as_duration(long ms) {
+as_duration(long ms)
+{
char *str = NULL;
if (asprintf(&str, "%1.3f", ms / 1000.0) < 0) {