1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

Fix trans no-argument function definitions

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-02-28 10:34:00 -06:00
parent acd9269478
commit 1eccae3d93

View File

@ -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;