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
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2019-09-16 18:08:01 +02:00
parent da33cba0f8
commit 2bfa8466c0
6 changed files with 17 additions and 16 deletions
+2
View File
@@ -11,3 +11,5 @@ typedef enum RebootFlags {
int read_reboot_parameter(char **parameter);
int reboot_with_parameter(RebootFlags flags);
int shall_restore_state(void);