From 2bfa8466c079b81b016f8a4ab7958eb085eb5a7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 1 Aug 2019 14:34:51 +0200 Subject: 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 --- src/rfkill/rfkill.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rfkill') 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. */ -- cgit v1.2.1