Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util/cleanupdelta.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/cleanupdelta.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/cleanupdelta.c')
-rw-r--r--src/util/cleanupdelta.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c
index eecb1aeb..144e0388 100644
--- a/src/util/cleanupdelta.c
+++ b/src/util/cleanupdelta.c
@@ -28,7 +28,8 @@
alpm_handle_t *handle = NULL;
-static void cleanup(int signum) {
+static void cleanup(int signum)
+{
if(handle && alpm_release(handle) == -1) {
fprintf(stderr, "error releasing alpm\n");
}
@@ -64,7 +65,8 @@ static void checkpkgs(alpm_list_t *pkglist)
}
}
-static void checkdbs(alpm_list_t *dbnames) {
+static void checkdbs(alpm_list_t *dbnames)
+{
alpm_db_t *db = NULL;
alpm_list_t *i;
const alpm_siglevel_t level = ALPM_SIG_DATABASE | ALPM_SIG_DATABASE_OPTIONAL;
@@ -82,7 +84,8 @@ static void checkdbs(alpm_list_t *dbnames) {
}
-static void usage(void) {
+static void usage(void)
+{
fprintf(stderr, "usage:\n");
fprintf(stderr,
"\t%s [-b <pacman db>] core extra ... : check the listed sync databases\n", BASENAME);