From 1eccae3d9349a4366f511910f64870027a7fd2d7 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 28 Feb 2011 10:34:00 -0600 Subject: Fix trans no-argument function definitions Signed-off-by: Dan McGee --- lib/libalpm/trans.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libalpm') diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 9f617967..c1710e04 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -218,7 +218,7 @@ int SYMEXPORT alpm_trans_commit(alpm_list_t **data) /** Interrupt a transaction. * @return 0 on success, -1 on error (pm_errno is set accordingly) */ -int SYMEXPORT alpm_trans_interrupt() +int SYMEXPORT alpm_trans_interrupt(void) { pmtrans_t *trans; @@ -240,7 +240,7 @@ int SYMEXPORT alpm_trans_interrupt() /** Release a transaction. * @return 0 on success, -1 on error (pm_errno is set accordingly) */ -int SYMEXPORT alpm_trans_release() +int SYMEXPORT alpm_trans_release(void) { pmtrans_t *trans; @@ -277,7 +277,7 @@ int SYMEXPORT alpm_trans_release() /** @} */ -pmtrans_t *_alpm_trans_new() +pmtrans_t *_alpm_trans_new(void) { pmtrans_t *trans; -- cgit v1.2.3-24-g4f1b