diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-08-01 14:34:51 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-09-16 18:08:01 +0200 |
commit | 2bfa8466c079b81b016f8a4ab7958eb085eb5a7a (patch) | |
tree | 44bafd6b137a722115c409ae78ac48c79286e939 /src/rfkill | |
parent | util-lib: move runlevel_to_target() to shared/unit-file (diff) | |
download | systemd-2bfa8466c079b81b016f8a4ab7958eb085eb5a7a.tar.xz systemd-2bfa8466c079b81b016f8a4ab7958eb085eb5a7a.zip |
util-lib: move shall_restore_state() to shared/reboot-util
It's just a small function, but it is higher-level functionality.
I don't see a good place for it, reboot-util.[ch] seems least bad
Diffstat (limited to 'src/rfkill')
-rw-r--r-- | src/rfkill/rfkill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rfkill/rfkill.c b/src/rfkill/rfkill.c index f9d309c909..501982819a 100644 --- a/src/rfkill/rfkill.c +++ b/src/rfkill/rfkill.c @@ -16,15 +16,15 @@ #include "fd-util.h" #include "fileio.h" #include "io-util.h" +#include "list.h" #include "main-func.h" #include "mkdir.h" #include "parse-util.h" -#include "proc-cmdline.h" +#include "reboot-util.h" #include "string-table.h" #include "string-util.h" #include "udev-util.h" #include "util.h" -#include "list.h" /* Note that any write is delayed until exit and the rfkill state will not be * stored for rfkill indices that disappear after a change. */ |