X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fmount-util.h;h=ad30727fea738649c3b5cb51885d689402e0bc57;hp=9b36bc1453e214f09c336a37179c22230b6d9b19;hb=6917418372a990fbfe9a39864ccefacb37c70cc8;hpb=2705eaf36d46539397571886ba6ccd0045ef3e9b diff --git a/src/basic/mount-util.h b/src/basic/mount-util.h index 9b36bc1..ad30727 100644 --- a/src/basic/mount-util.h +++ b/src/basic/mount-util.h @@ -32,17 +32,23 @@ int fd_is_mount_point(int fd, const char *filename, int flags); int path_is_mount_point(const char *path, int flags); -// UNNEEDED int repeat_unmount(const char *path, int flags); +/// UNNEEDED by elogind +#if 0 +int repeat_unmount(const char *path, int flags); -// UNNEEDED int umount_recursive(const char *target, int flags); -// UNNEEDED int bind_remount_recursive(const char *prefix, bool ro); +int umount_recursive(const char *target, int flags); +int bind_remount_recursive(const char *prefix, bool ro); -// UNNEEDED int mount_move_root(const char *path); +int mount_move_root(const char *path); +#endif // 0 DEFINE_TRIVIAL_CLEANUP_FUNC(FILE*, endmntent); #define _cleanup_endmntent_ _cleanup_(endmntentp) -// UNNEEDED bool fstype_is_network(const char *fstype); +/// UNNEEDED by elogind +#if 0 +bool fstype_is_network(const char *fstype); +#endif // 0 union file_handle_union { struct file_handle handle;