Split out of #37344.
Copyright © 2010 ProFUSION embedded systems
***/
-#include <stdbool.h>
+#include "forward.h"
int dm_detach_all(bool *changed, bool last_try);
Copyright © 2010 ProFUSION embedded systems
***/
-#include <stdbool.h>
+#include "forward.h"
int loopback_detach_all(bool *changed, bool last_try);
Copyright © 2010 ProFUSION embedded systems
***/
-#include <stdbool.h>
+#include "forward.h"
int md_detach_all(bool *changed, bool last_try);
Copyright © 2010 ProFUSION embedded systems
***/
-#include <stdbool.h>
-
+#include "forward.h"
#include "list.h"
int swapoff_all(bool *changed);
Copyright © 2010 ProFUSION embedded systems
***/
-#include <errno.h>
#include <getopt.h>
#include <linux/reboot.h>
-#include <stdbool.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <sys/mount.h>
#include "detach-swap.h"
#include "errno-util.h"
#include "exec-util.h"
+#include "extract-word.h"
#include "fd-util.h"
#include "fileio.h"
+#include "format-util.h"
#include "getopt-defs.h"
#include "initrd-util.h"
#include "killall.h"
#include "log.h"
#include "parse-util.h"
+#include "pidref.h"
#include "process-util.h"
#include "reboot-util.h"
#include "rlimit-util.h"
#include "switch-root.h"
#include "sysctl-util.h"
#include "terminal-util.h"
+#include "time-util.h"
#include "umount.h"
#include "virt.h"
#include "watchdog.h"
#include "errno-util.h"
#include "fd-util.h"
#include "log.h"
-#include "path-util.h"
-#include "string-util.h"
#include "tests.h"
#include "umount.h"
Copyright © 2010 ProFUSION embedded systems
***/
-#include <errno.h>
#include <fcntl.h>
#include <sys/mount.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include <unistd.h>
#include "alloc-util.h"
#include "chase.h"
#include "dirent-util.h"
+#include "errno-util.h"
#include "fd-util.h"
#include "fileio.h"
+#include "format-util.h"
#include "fs-util.h"
#include "fstab-util.h"
#include "libmount-util.h"
#include "process-util.h"
#include "random-util.h"
#include "signal-util.h"
+#include "stat-util.h"
+#include "string-util.h"
+#include "time-util.h"
#include "umount.h"
-#include "user-util.h"
#include "virt.h"
static void mount_point_free(MountPoint **head, MountPoint *m) {
Copyright © 2010 ProFUSION embedded systems
***/
-#include <stdbool.h>
-#include <stdio.h>
-
+#include "forward.h"
#include "list.h"
int umount_all(bool *changed, bool last_try);