]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
[16_ca needs huge amounts of work and I should remember what needs to be done soon...
[16.git] / src / lib / 16_in.c
index 98ecb70d117a330213f9fb00a974dda1463ecbbd..14086bd8909381c57da08fa8836a4a881efbc708 100755 (executable)
@@ -78,15 +78,21 @@ static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */
 extern "C" {\r
 #endif\r
 \r
-static struct instat {\r
-       boolean         CapsLock;\r
+/*static struct instat {\r
+       boolean         CapsLock;\r
        ScanCode        CurCode,LastCode;\r
 \r
        boolean         Keyboard[NumCodes];\r
        boolean         Paused;\r
        char            LastASCII;\r
        ScanCode        LastScan;\r
-} inst;\r
+} inst;*/\r
+\r
+//the def stuff is need fix warnings\r
+#ifndef INSTDEFED\r
+#define INSTDEFED\r
+static inst_t inst;\r
+#endif\r
 \r
 static byte        far ASCIINames[] =          // Unshifted ASCII for scan codes\r
                                        {\r