index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-24 03:02:53 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-24 03:02:53 +0000 |
commit | 1b61cc8c69025ddd394401a506b21f16df5d4e6d (patch) | |
tree | c99b4717e8eeb23295603d60eb97e27cc821a730 /lib/libalpm/trans.c | |
parent | 838767205319e5d436194cc4a5aaa08ccf4f6077 (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 6 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 20425b63..75d3489b 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -85,7 +85,9 @@ void _alpm_trans_free(void *data) FREE(trans); } -int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned int flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv, alpm_trans_cb_progress progress) +int _alpm_trans_init(pmtrans_t *trans, pmtranstype_t type, unsigned int flags, + alpm_trans_cb_event event, alpm_trans_cb_conv conv, + alpm_trans_cb_progress progress) { /* Sanity checks */ ASSERT(trans != NULL, RET_ERR(PM_ERR_TRANS_NULL, -1)); @@ -226,7 +228,7 @@ int _alpm_trans_commit(pmtrans_t *trans, alpm_list_t **data) return(0); } -unsigned char alpm_trans_get_type() +pmtranstype_t alpm_trans_get_type() { /* Sanity checks */ ASSERT(handle != NULL, return(-1)); |