summaryrefslogtreecommitdiffstats
path: root/src/pacman/util.c
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2011-12-07 05:37:32 +0100
committerDan McGee <dan@archlinux.org>2011-12-12 19:51:59 +0100
commit3d4656c0204956847a62c95b0f28747d7a0c2c05 (patch)
tree8263b85a03d387a6911748d763fdd1e8235248d7 /src/pacman/util.c
parent5f0df423033c94e8ae52ca642284bf6a50fa9bbb (diff)
downloadpacman-3d4656c0204956847a62c95b0f28747d7a0c2c05.tar.gz
pacman-3d4656c0204956847a62c95b0f28747d7a0c2c05.tar.xz
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.c6
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;