Skip to content

Commit

Permalink
alpm: Fix function declaration isn’t a prototype error
Browse files Browse the repository at this point in the history
../backends/alpm/pk-alpm-transaction.c:364:1: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
  364 | pk_alpm_transaction_output_end ()
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
  • Loading branch information
sidt4 committed Aug 24, 2024
1 parent 1aeb76f commit 816e954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/alpm/pk-alpm-transaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ pk_alpm_transaction_conv_cb (void *ctx, alpm_question_t *question)
}

static void
pk_alpm_transaction_output_end ()
pk_alpm_transaction_output_end (void)
{
tpkg = NULL;

Expand Down

0 comments on commit 816e954

Please sign in to comment.