diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-12-06 23:37:32 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-12-12 12:51:59 -0600 |
commit | 3d4656c0204956847a62c95b0f28747d7a0c2c05 (patch) | |
tree | 8263b85a03d387a6911748d763fdd1e8235248d7 /src/pacman/util.c | |
parent | 5f0df423033c94e8ae52ca642284bf6a50fa9bbb (diff) |
code syntax cleanup
As per HACKING file, we use 'CTRL(' rather than 'CTRL ('
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/util.c')
-rw-r--r-- | src/pacman/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/util.c b/src/pacman/util.c index c0dcb9f2..12f3dcae 100644 --- a/src/pacman/util.c +++ b/src/pacman/util.c @@ -681,7 +681,7 @@ void list_display(const char *title, const alpm_list_t *list) size_t j; cols = len; printf("\n"); - for (j = 1; j <= len; j++) { + for(j = 1; j <= len; j++) { printf(" "); } } else if(cols != len) { @@ -1184,7 +1184,7 @@ void select_display(const alpm_list_t *pkglist) char *string = NULL; const char *dbname = NULL; - for (i = pkglist; i; i = i->next) { + for(i = pkglist; i; i = i->next) { alpm_pkg_t *pkg = i->data; alpm_db_t *db = alpm_pkg_get_db(pkg); @@ -1227,7 +1227,7 @@ static int multiselect_parse(char *array, int count, char *response) { char *str, *saveptr; - for (str = response; ; str = NULL) { + for(str = response; ; str = NULL) { int include = 1; int start, end; char *ends = NULL; |