summaryrefslogtreecommitdiff
path: root/src/pacman
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman')
-rw-r--r--src/pacman/trans.c4
-rw-r--r--src/pacman/trans.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/pacman/trans.c b/src/pacman/trans.c
index ede9b78d..4af0aa41 100644
--- a/src/pacman/trans.c
+++ b/src/pacman/trans.c
@@ -277,8 +277,8 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
}
}
-void cb_trans_progress(pmtransprog_t event, char *pkgname, const int percent,
- const int howmany, const int remain)
+void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
+ int howmany, int remain)
{
float timediff;
diff --git a/src/pacman/trans.h b/src/pacman/trans.h
index 63ff4714..85e122c4 100644
--- a/src/pacman/trans.h
+++ b/src/pacman/trans.h
@@ -29,8 +29,8 @@ void cb_trans_conv(pmtransconv_t event, void *data1, void *data2,
void *data3, int *response);
/* callback to handle display of the progress bar for transactions */
-void cb_trans_progress(pmtransprog_t event, char *pkgname, const int percent,
- const int howmany, const int remain);
+void cb_trans_progress(pmtransprog_t event, const char *pkgname, int percent,
+ int howmany, int remain);
#endif /* _PM_TRANS_H */