libConsole/cross_getch.c
changeset 93 66b3596f71b6
parent 77 49e0babccb23
child 134 8325a0fc22cd
equal deleted inserted replaced
92:0bc2646daa82 93:66b3596f71b6
    20 }
    20 }
    21 
    21 
    22 #else
    22 #else
    23 #include <termios.h>
    23 #include <termios.h>
    24 
    24 
    25 int cross_getch ()
    25 static int cross_getch ()
    26 {
    26 {
    27     int ch = -1, fd = 0;
    27     int ch = -1, fd = 0;
    28     struct termios neu, alt;
    28     struct termios neu, alt;
    29 
    29 
    30     fd = fileno (stdin);
    30     fd = fileno (stdin);