mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-23 00:08:50 -05:00
Fix trans no-argument function definitions
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
acd9269478
commit
1eccae3d93
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user