From 7131b7ac87b9793c06d7b7e59df103658dd76ec7 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 20 Oct 2006 06:26:55 +0000 Subject: A handful of minor changes: * Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter --- lib/libalpm/trans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm/trans.c') diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 69fc69bb..2e34f570 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -73,7 +73,7 @@ void _alpm_trans_free(void *data) FREELIST(trans->targets); if(trans->type == PM_TRANS_TYPE_SYNC) { - PMList *i; + pmlist_t *i; for(i = trans->packages; i; i = i->next) { FREESYNC(i->data); } @@ -147,7 +147,7 @@ int _alpm_trans_addtarget(pmtrans_t *trans, char *target) return(0); } -int _alpm_trans_prepare(pmtrans_t *trans, PMList **data) +int _alpm_trans_prepare(pmtrans_t *trans, pmlist_t **data) { *data = NULL; @@ -186,7 +186,7 @@ int _alpm_trans_prepare(pmtrans_t *trans, PMList **data) return(0); } -int _alpm_trans_commit(pmtrans_t *trans, PMList **data) +int _alpm_trans_commit(pmtrans_t *trans, pmlist_t **data) { if(data!=NULL) *data = NULL; -- cgit v1.2.3-24-g4f1b