diff options
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c')
-rw-r--r-- | payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c index 4d300ff621..5bfeb6e5c9 100644 --- a/payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c +++ b/payloads/libpayload/curses/PDCurses-3.4/pdcurses/keyname.c @@ -32,11 +32,11 @@ RCSID("$Id: keyname.c,v 1.8 2008/07/13 16:08:18 wmcbrine Exp $") **man-end****************************************************************/ -char *keyname(int key) +const char *keyname(int key) { /* Key names must be in exactly the same order as in curses.h */ - static char *key_name[] = + static const char *key_name[] = { "KEY_BREAK", "KEY_DOWN", "KEY_UP", "KEY_LEFT", "KEY_RIGHT", "KEY_HOME", "KEY_BACKSPACE", "KEY_F0", "KEY_F(1)", "KEY_F(2)", |