Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/pactree.c
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2013-01-03 18:48:52 -0300
committerAllan McRae <allan@archlinux.org>2013-01-04 21:49:37 +1000
commitb5709b8171c5be82ebb3651680ae3698b7513f43 (patch)
tree51993e70ae95ccecf0c74c5e82d45c4915421efa /src/util/pactree.c
parente13a3bf5990d03cca25c86efbfbaf2540d645413 (diff)
Fix open braces style
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util/pactree.c')
-rw-r--r--src/util/pactree.c7
1 files changed, 4 insertions, 3 deletions
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;