Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/callback.h2
-rw-r--r--src/pacman/pacman.c10
-rw-r--r--src/pacman/sync.c2
-rw-r--r--src/util/pactree.c2
4 files changed, 8 insertions, 8 deletions
diff --git a/src/pacman/callback.h b/src/pacman/callback.h
index 5480c73d..498536fe 100644
--- a/src/pacman/callback.h
+++ b/src/pacman/callback.h
@@ -28,7 +28,7 @@
void cb_event(alpm_event_t *event);
/* callback to handle questions from libalpm (yes/no) */
-void cb_question(alpm_question_t* question);
+void cb_question(alpm_question_t *question);
/* callback to handle display of progress */
void cb_progress(alpm_progress_t event, const char *pkgname, int percent,
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 61610484..f43105ab 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -97,11 +97,11 @@ static void usage(int op, const char * const myname)
alpm_list_t *list = NULL, *i;
/* prefetch some strings for usage below, which moves a lot of calls
* out of gettext. */
- char const * const str_opt = _("options");
- char const * const str_file = _("file(s)");
- char const * const str_pkg = _("package(s)");
- char const * const str_usg = _("usage");
- char const * const str_opr = _("operation");
+ char const *const str_opt = _("options");
+ char const *const str_file = _("file(s)");
+ char const *const str_pkg = _("package(s)");
+ char const *const str_usg = _("usage");
+ char const *const str_opr = _("operation");
/* please limit your strings to 80 characters in width */
if(op == PM_OP_MAIN) {
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 46091863..215497f6 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -230,7 +230,7 @@ static int sync_cleancache(int level)
}
if(level <= 1) {
- static const char * const glob_skips[] = {
+ static const char *const glob_skips[] = {
/* skip signature files - they are removed with their package file */
"*.sig",
/* skip package database within the cache directory */
diff --git a/src/util/pactree.c b/src/util/pactree.c
index 5c765428..14579e42 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -339,7 +339,7 @@ static void cleanup(void)
static void print_text(const char *pkg, const char *provision,
tdepth *depth, int last)
{
- const char* tip = "";
+ const char *tip = "";
int level = 1;
if(!pkg && !provision) {
/* not much we can do */