summaryrefslogtreecommitdiff
path: root/src/basic/copy.h
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-04-11 17:26:30 +0200
committerSven Eden <yamakuzure@gmx.net>2017-04-26 12:59:13 +0200
commitc5729796b4ec5e5f4800bfe6bd9ceb5c2da81fbe (patch)
treed2610dc100e2b675389ccdc7ef3afc3ec162fce0 /src/basic/copy.h
parent756c392103bc01d409c1760146ac2df7dd8f8ede (diff)
Prep v228: Condense elogind source masks (1/5)
Although having a two line mask like /// UNNEEDED by elogind #if 0 it is much more easier to read (and patch!) if those two lines were condense into a one-line mask start like #if 0 /// UNNEEDED by elogind
Diffstat (limited to 'src/basic/copy.h')
-rw-r--r--src/basic/copy.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/basic/copy.h b/src/basic/copy.h
index 2cc7ad146..27fc88621 100644
--- a/src/basic/copy.h
+++ b/src/basic/copy.h
@@ -25,8 +25,7 @@
#include <stdbool.h>
#include <sys/types.h>
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int copy_file_fd(const char *from, int to, bool try_reflink);
int copy_file(const char *from, const char *to, int flags, mode_t mode, unsigned chattr_flags);
int copy_file_atomic(const char *from, const char *to, mode_t mode, bool replace, unsigned chattr_flags);
@@ -35,8 +34,7 @@ int copy_tree_at(int fdf, const char *from, int fdt, const char *to, bool merge)
int copy_directory_fd(int dirfd, const char *to, bool merge);
#endif // 0
int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink);
-/// UNNEEDED by elogind
-#if 0
+#if 0 /// UNNEEDED by elogind
int copy_times(int fdf, int fdt);
int copy_xattr(int fdf, int fdt);
#endif // 0