summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r--lib/libalpm/trans.c6
1 files changed, 3 insertions, 3 deletions
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;