summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shared/install-file.c2
-rw-r--r--src/shared/install-file.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/shared/install-file.c b/src/shared/install-file.c
index 3b4d6510d2..ea2189fc9e 100644
--- a/src/shared/install-file.c
+++ b/src/shared/install-file.c
@@ -12,7 +12,7 @@
#include "rm-rf.h"
#include "sync-util.h"
-int fs_make_very_read_only(int fd) {
+static int fs_make_very_read_only(int fd) {
struct stat st;
int r;
diff --git a/src/shared/install-file.h b/src/shared/install-file.h
index c37254fa72..af07ab29d2 100644
--- a/src/shared/install-file.h
+++ b/src/shared/install-file.h
@@ -1,8 +1,6 @@
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once
-int fs_make_very_read_only(int fd);
-
typedef enum InstallFileFlags {
INSTALL_REPLACE = 1 << 0, /* Replace an existing inode */
INSTALL_READ_ONLY = 1 << 1, /* Call fs_make_very_read_only() to make the inode comprehensively read-only */