diff options
Diffstat (limited to 'src/systemd/src/basic/fs-util.c')
-rw-r--r-- | src/systemd/src/basic/fs-util.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/systemd/src/basic/fs-util.c b/src/systemd/src/basic/fs-util.c index fb760abe18..741bd31f70 100644 --- a/src/systemd/src/basic/fs-util.c +++ b/src/systemd/src/basic/fs-util.c @@ -19,6 +19,8 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>. ***/ +#include "nm-sd-adapt.h" + #include <dirent.h> #include <errno.h> #include <stddef.h> @@ -30,20 +32,26 @@ #include <unistd.h> #include "alloc-util.h" +#if 0 /* NM_IGNORED */ #include "dirent-util.h" +#endif /* NM_IGNORED */ #include "fd-util.h" #include "fileio.h" #include "fs-util.h" #include "log.h" #include "macro.h" +#if 0 /* NM_IGNORED */ #include "missing.h" #include "mkdir.h" +#endif /* NM_IGNORED */ #include "parse-util.h" #include "path-util.h" #include "string-util.h" #include "strv.h" #include "time-util.h" +#if 0 /* NM_IGNORED */ #include "user-util.h" +#endif /* NM_IGNORED */ #include "util.h" int unlink_noerrno(const char *path) { @@ -57,6 +65,7 @@ int unlink_noerrno(const char *path) { return 0; } +#if 0 /* NM_IGNORED */ int rmdir_parents(const char *path, const char *stop) { size_t l; int r = 0; @@ -302,6 +311,7 @@ int fchmod_and_fchown(int fd, mode_t mode, uid_t uid, gid_t gid) { return 0; } +#endif /* NM_IGNORED */ int fchmod_umask(int fd, mode_t m) { mode_t u; @@ -314,6 +324,7 @@ int fchmod_umask(int fd, mode_t m) { return r; } +#if 0 /* NM_IGNORED */ int fd_warn_permissions(const char *path, int fd) { struct stat st; @@ -512,3 +523,4 @@ int get_files_in_directory(const char *path, char ***list) { return n; } +#endif /* NM_IGNORED */ |