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:
parent
3acc318591
commit
f3c5ea7111
@ -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;
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user