summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-03-04 18:52:10 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2021-03-04 23:35:52 +0100
commitbb72c434854f9f76f773edcb1f4b036372f5dc96 (patch)
tree57c8336e6251f3a36db22cb0366a8e4d131a8cf7 /src/basic/fileio.h
parentcopy: simplify error paths when creating temporary files (diff)
downloadsystemd-bb72c434854f9f76f773edcb1f4b036372f5dc96.tar.xz
systemd-bb72c434854f9f76f773edcb1f4b036372f5dc96.zip
copy: move sync_rights() to copy.c and rename copy_rights()
It's so similar to copy_access(), hence let's move it over and rename it in similar style to the rest of the functions. No change in behaviour, just moving things over.
Diffstat (limited to 'src/basic/fileio.h')
-rw-r--r--src/basic/fileio.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/fileio.h b/src/basic/fileio.h
index 498e880354..64a30ab7bb 100644
--- a/src/basic/fileio.h
+++ b/src/basic/fileio.h
@@ -118,6 +118,4 @@ int safe_fgetc(FILE *f, char *ret);
int warn_file_is_world_accessible(const char *filename, struct stat *st, const char *unit, unsigned line);
-int sync_rights(int from, int to);
-
int rename_and_apply_smack_floor_label(const char *temp_path, const char *dest_path);