Skip to content

Commit

Permalink
landlock: make parameters void in ll_create_full_ruleset
Browse files Browse the repository at this point in the history
For consistency with the other functions that have no paramters.

This amends commit 13b2c56 ("feature: add Landlock support",
2023-10-24) / PR #6078.
  • Loading branch information
kmk3 committed Dec 5, 2023
1 parent d551bfc commit a127c5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firejail/landlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int ll_is_supported(void) {
return ll_abi;
}

static int ll_create_full_ruleset() {
static int ll_create_full_ruleset(void) {
if (!ll_is_supported())
return -1;

Expand Down

0 comments on commit a127c5b

Please sign in to comment.