]> git.ozlabs.org Git - petitboot/blobdiff - ui/common/ui-system.h
Add --start-daemon option to ui programs
[petitboot] / ui / common / ui-system.h
index 2dc37a30d8506cf722734d57b352b4afd8d81b4c..87ab89126f8b6494a1df0e5faaf4a1340124ab4e 100644 (file)
@@ -32,6 +32,7 @@ struct pb_kexec_data {
 };
 
 int pb_run_kexec(const struct pb_kexec_data *kd);
+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 +48,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;
 };