]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/ui-system.h
ui/common: Remove unused artwork
[petitboot] / ui / common / ui-system.h
index 2dc37a30d8506cf722734d57b352b4afd8d81b4c..b75c4d1bfecbe45ff766354a912af37714479305 100644 (file)
 #if !defined(_PB_UI_SYSTEM_H)
 #define _PB_UI_SYSTEM_H
 
-#include "pb-protocol/pb-protocol.h"
+#include <stdint.h>
+
 #include "system/system.h"
+#include "types/types.h"
 #include "ui/common/timer.h"
 
 #include <signal.h>
@@ -31,7 +33,8 @@ struct pb_kexec_data {
        char *args;
 };
 
-int pb_run_kexec(const struct pb_kexec_data *kd);
+int pb_run_kexec(const struct pb_kexec_data *kd, int dry_run);
+int pb_start_daemon(void);
 
 unsigned int pb_elf_hash(const char *str);
 unsigned int pb_cat_hash(const char *a, const char *b);
@@ -47,10 +50,8 @@ struct pb_opt_data {
        struct pb_kexec_data *kd;
 
        /* optional data */
-       union {
-               const struct device *dev;
-               const struct boot_option *opt;
-       };
+       const struct device *dev;
+       const struct boot_option *opt;
        uint32_t opt_hash;
 };