1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Resolve unused-variable warning for DOSLispKeyMap_101

DOSLispKeyMap_101 will not be referenced unless compiling with -DDOS so wrap the
declaration in an #ifdef DOS.
This commit is contained in:
Nick Briggs 2023-01-14 11:53:42 -08:00
parent 39b12b20ba
commit b53b5bd710

View File

@ -194,6 +194,7 @@ u_char DOSLispKeyMap_101[0x80] = {
/* 7*/ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
#endif /* NEVER */
#ifdef DOS
/* For the IBM-101 kbd FF marks exceptions */
static u_char DOSLispKeyMap_101[0x80] = {
/* 0 1 2 3 4 5 6 7 8 9 a b c d e f */
@ -206,6 +207,7 @@ static u_char DOSLispKeyMap_101[0x80] = {
/* 5*/ 131, 91, 89, 46, 0xff, 0xff, 0xff, 107, 108, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
/* 6*/ 89, 62, 63, 46, 90, 91, 130, 129, 131, 132, 92, 61, 0xff, 0xff, 0xff, 0xff,
/* 7*/ 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};
#endif
void init_keyboard(int flg) /* if 0 init else re-init */
{