diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-11-10 18:54:05 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-12-05 11:41:13 -0300 |
commit | a127c5b9a09c28e2859a8022ac7202f23247243c (patch) | |
tree | 408e44a000770005cfd93e98f6b668fca5f7ee60 /src | |
parent | landlock: fix misc messages in ll_is_supported (diff) | |
download | firejail-a127c5b9a09c28e2859a8022ac7202f23247243c.tar.gz firejail-a127c5b9a09c28e2859a8022ac7202f23247243c.tar.zst firejail-a127c5b9a09c28e2859a8022ac7202f23247243c.zip |
landlock: make parameters void in ll_create_full_ruleset
For consistency with the other functions that have no paramters.
This amends commit 13b2c566d ("feature: add Landlock support",
2023-10-24) / PR #6078.
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/landlock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/landlock.c b/src/firejail/landlock.c index 52a562d6e..fcbe895f7 100644 --- a/src/firejail/landlock.c +++ b/src/firejail/landlock.c | |||
@@ -80,7 +80,7 @@ out: | |||
80 | return ll_abi; | 80 | return ll_abi; |
81 | } | 81 | } |
82 | 82 | ||
83 | static int ll_create_full_ruleset() { | 83 | static int ll_create_full_ruleset(void) { |
84 | if (!ll_is_supported()) | 84 | if (!ll_is_supported()) |
85 | return -1; | 85 | return -1; |
86 | 86 | ||