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>
This commit is contained in:
committed by
Bryce Harrington
parent
5e653caa4a
commit
74a635b1ec
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user