diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-30 16:58:32 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-30 18:08:57 -0700 |
commit | 52b9db95764fcdee9195113d7df225634a19c9f4 (patch) | |
tree | c1d649ca1316a816430728ce097acb1806f2fad9 /ui/ncurses/nc-cui.h | |
parent | 45e253470f2cd7c6dfc38e7f533c62c454039873 (diff) | |
download | talos-petitboot-52b9db95764fcdee9195113d7df225634a19c9f4.tar.gz talos-petitboot-52b9db95764fcdee9195113d7df225634a19c9f4.zip |
Cleanup --dry-run option code
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index a4ac2e8..90eef1c 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -51,6 +51,7 @@ struct cui { enum pb_nc_sig c_sig; sig_atomic_t abort; sig_atomic_t resize; + int dry_run; struct nc_scr *current; struct pmenu *main; struct ui_timer timer; @@ -62,7 +63,7 @@ struct cui { struct cui *cui_init(void* platform_info, int (*on_kexec)(struct cui *, struct cui_opt_data *), - int (*js_map)(const struct js_event *e), int start_deamon); + int (*js_map)(const struct js_event *e), int start_deamon, int dry_run); struct nc_scr *cui_set_current(struct cui *cui, struct nc_scr *scr); int cui_run(struct cui *cui, struct pmenu *main, unsigned int default_item); int cui_ked_run(struct pmenu_item *item); |