X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-scr.h;h=775e8de4e25799ecd0c6d8f8a556617611e217e9;hp=9f80e65c1462727718d03a4b1456110a14f0e332;hb=d57d1c9c4cd7365063da7aa1f018736166bb3a50;hpb=089d0a6eb769d531129a7cd1061493a1a24b4bef diff --git a/ui/ncurses/nc-scr.h b/ui/ncurses/nc-scr.h index 9f80e65..775e8de 100644 --- a/ui/ncurses/nc-scr.h +++ b/ui/ncurses/nc-scr.h @@ -47,9 +47,6 @@ enum pb_nc_sig { pb_removed_sig = -555, }; -void nc_start(void); -void nc_atexit(void); - static inline void nc_flush_keys(void) { while (getch() != ERR) @@ -98,4 +95,7 @@ void nc_scr_status_free(struct nc_scr *scr); void nc_scr_status_printf(struct nc_scr *scr, const char *format, ...); void nc_scr_frame_draw(struct nc_scr *scr); +int nc_scr_post(struct nc_scr *src); +int nc_scr_unpost(struct nc_scr *src); + #endif