libpayload: Fix const warnings in keyname() and termname()
The keyname() and termname() functions were creating a whole lot of warnings of the style curses/PDCurses-3.4/pdcurses/keyname.c:41:9: warning: initialization discards 'const' qualifier from pointer target type [enabled by default] This patch fixes them. Change-Id: Iae3c4e5201b48c2d2033cac48577e0462a34f309 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/2905 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
committed by
Stefan Reinauer
parent
8d225f141d
commit
a6c495edca
@@ -945,7 +945,7 @@ int intrflush(WINDOW *, bool);
|
||||
bool isendwin(void);
|
||||
bool is_linetouched(WINDOW *, int);
|
||||
bool is_wintouched(WINDOW *);
|
||||
char *keyname(int);
|
||||
const char *keyname(int);
|
||||
int keypad(WINDOW *, bool);
|
||||
char killchar(void);
|
||||
int leaveok(WINDOW *, bool);
|
||||
@@ -1061,7 +1061,7 @@ WINDOW *subwin(WINDOW *, int, int, int, int);
|
||||
int syncok(WINDOW *, bool);
|
||||
chtype termattrs(void);
|
||||
attr_t term_attrs(void);
|
||||
char *termname(void);
|
||||
const char *termname(void);
|
||||
void timeout(int);
|
||||
int touchline(WINDOW *, int, int);
|
||||
int touchwin(WINDOW *);
|
||||
|
Reference in New Issue
Block a user