From b5709b8171c5be82ebb3651680ae3698b7513f43 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Thu, 3 Jan 2013 18:48:52 -0300 Subject: Fix open braces style Signed-off-by: Gerardo Exequiel Pozzi Signed-off-by: Allan McRae --- src/util/pactree.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/util/pactree.c') diff --git a/src/util/pactree.c b/src/util/pactree.c index 9125f581..33cf66c4 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -178,7 +178,8 @@ static size_t strtrim(char *str) return end - pch; } -static int register_syncs(void) { +static int register_syncs(void) +{ FILE *fp; char *section = NULL; char line[LINE_MAX]; @@ -350,7 +351,7 @@ static void print_text(const char *pkg, const char *provision, depth = depth->prev; } printf("%s", color->branch1); - while(depth->next){ + while(depth->next) { printf("%*s%-*s", style->indent * (depth->level - level), "", style->indent, style->limb); level = depth->level + 1; @@ -471,7 +472,7 @@ static void walk_deps(alpm_list_t *dblist, alpm_pkg_t *pkg, tdepth *depth, int r }; depth->next = &d; /* last dep, cut off the limb here */ - if(last){ + if(last) { if(depth->prev) { depth->prev->next = &d; d.prev = depth->prev; -- cgit v1.2.3-54-g00ecf