soc/intel/xeon_sp/util: Enhance lock_pam0123
[coreboot2.git] / payloads / libpayload / curses / PDCurses / pdcurses / deprec.c
blob028d47a8ce02d9fe13a9ba2375be951a93add4b9
1 /* Public Domain Curses */
3 #include <curspriv.h>
5 RCSID("$Id: deprec.c,v 1.6 2008/07/13 16:08:18 wmcbrine Exp $")
7 /* Deprecated functions. These should not be used, and will eventually
8 be removed. They're here solely for the benefit of applications that
9 linked to them in older versions of PDCurses. */
11 bool PDC_check_bios_key(void)
13 return PDC_check_key();
16 int PDC_get_bios_key(void)
18 return PDC_get_key();
21 bool PDC_get_ctrl_break(void)
23 return !SP->raw_inp;
26 int PDC_set_ctrl_break(bool setting)
28 return setting ? noraw() : raw();