diff options
author | Sven Eden <yamakuzure@gmx.net> | 2017-04-11 17:28:14 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-04-26 12:59:13 +0200 |
commit | 166f4e4fb53a82900ff9ae080e0ff37d35d4dacd (patch) | |
tree | 6b865d79a989e8b3574effac3b9460ea3cac7c22 /src/basic/stat-util.c | |
parent | 68def6bc80ba50ed3b3658d00799a3ec295c4d7a (diff) |
Prep v228: Condense elogind source masks (3/5)
Diffstat (limited to 'src/basic/stat-util.c')
-rw-r--r-- | src/basic/stat-util.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/src/basic/stat-util.c b/src/basic/stat-util.c index baa3b5c82..5bc11e4a3 100644 --- a/src/basic/stat-util.c +++ b/src/basic/stat-util.c @@ -31,8 +31,7 @@ #include "stat-util.h" #include "string-util.h" -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int is_symlink(const char *path) { struct stat info; @@ -61,8 +60,7 @@ int is_dir(const char* path, bool follow) { return !!S_ISDIR(st.st_mode); } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int is_device_node(const char *path) { struct stat info; @@ -115,8 +113,7 @@ int null_or_empty_path(const char *fn) { return null_or_empty(&st); } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int null_or_empty_fd(int fd) { struct stat st; @@ -149,8 +146,7 @@ int path_is_read_only_fs(const char *path) { return false; } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int path_is_os_tree(const char *path) { char *p; int r; @@ -194,8 +190,7 @@ bool is_fs_type(const struct statfs *s, statfs_f_type_t magic_value) { return F_TYPE_EQUAL(s->f_type, magic_value); } -/// UNNEEDED by elogind -#if 0 +#if 0 /// UNNEEDED by elogind int fd_check_fstype(int fd, statfs_f_type_t magic_value) { struct statfs s; |