Skip to content

Commit

Permalink
make kernel check function static
Browse files Browse the repository at this point in the history
  • Loading branch information
valoq committed Aug 7, 2024
1 parent c718289 commit b3bba0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zathura/landlock.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ static void landlock_drop(__u64 fs_access) {

#define _LANDLOCK_ACCESS_FS_READ (LANDLOCK_ACCESS_FS_READ_FILE | LANDLOCK_ACCESS_FS_READ_DIR)

void landlock_check_kernel(void) {
static void landlock_check_kernel(void) {
int abi = landlock_create_ruleset(NULL, 0,
LANDLOCK_CREATE_RULESET_VERSION);
if (abi == -1) {
Expand Down

0 comments on commit b3bba0d

Please sign in to comment.