From db9e10f14215ab6453cd663a62cae5bdfac3d61b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Thu, 26 Apr 2007 19:57:09 -0400 Subject: Remove FREETRANS macro and correctly type _alpm_trans_free Remove an unnecessary macro, and get rid of the void pointer. Signed-off-by: Dan McGee --- lib/libalpm/trans.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/libalpm/trans.c') diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index b5dfbd96..27e22bc6 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -69,10 +69,8 @@ pmtrans_t *_alpm_trans_new() return(trans); } -void _alpm_trans_free(void *data) +void _alpm_trans_free(pmtrans_t *trans) { - pmtrans_t *trans = data; - ALPM_LOG_FUNC; if(trans == NULL) { -- cgit v1.2.3-24-g4f1b