1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

install-file: make fs_make_very_read_only() static

This commit is contained in:
Yu Watanabe 2024-05-18 03:31:37 +09:00 committed by Luca Boccassi
parent 3acc318591
commit f3c5ea7111
2 changed files with 1 additions and 3 deletions

View File

@ -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;

View File

@ -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 */