summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-06-03 19:33:18 +0200
committerDan McGee <dan@archlinux.org>2011-06-03 19:33:18 +0200
commit7fc635fee071e18d0422a4773937e66960be96b2 (patch)
tree56d4a8d16bddc6ee416501a099ca06606475a3a6 /lib/libalpm/trans.h
parentde36c5fac4ab50259418c3850b6fb25b96b702f3 (diff)
downloadpacman-7fc635fee071e18d0422a4773937e66960be96b2.tar.gz
pacman-7fc635fee071e18d0422a4773937e66960be96b2.tar.xz
Remove global handle from util.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.h')
-rw-r--r--lib/libalpm/trans.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index 6702881b..8c9e7fac 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -71,9 +71,8 @@ void _alpm_trans_free(pmtrans_t *trans);
int _alpm_trans_init(pmtrans_t *trans, pmtransflag_t flags,
alpm_trans_cb_event event, alpm_trans_cb_conv conv,
alpm_trans_cb_progress progress);
-int _alpm_runscriptlet(const char *root, const char *installfn,
- const char *script, const char *ver,
- const char *oldver, pmtrans_t *trans);
+int _alpm_runscriptlet(pmhandle_t *handle, const char *installfn,
+ const char *script, const char *ver, const char *oldver);
#endif /* _ALPM_TRANS_H */