diff --git a/include/QF/keys.h b/include/QF/keys.h index 66f8364ca..99ca434d2 100644 --- a/include/QF/keys.h +++ b/include/QF/keys.h @@ -509,6 +509,7 @@ void Key_KeydestCallback (keydest_callback_t *callback); const char *Key_KeynumToString (knum_t keynum); +int Key_StringToKeynum (const char *str); struct progs_s; void Key_Progs_Init (struct progs_s *pr); #endif diff --git a/libs/video/targets/keys.c b/libs/video/targets/keys.c index 3d6664def..c8acf4a5c 100644 --- a/libs/video/targets/keys.c +++ b/libs/video/targets/keys.c @@ -632,7 +632,7 @@ Key_Console (knum_t key, short unicode) the given string. Single ascii characters return themselves, while the QFK_* names are matched up. */ -static int +VISIBLE int Key_StringToKeynum (const char *str) { keyname_t *kn;