mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-14 09:28:59 +00:00
ctk-curses: C89
At least Haiku still uses gcc2 by default.
This commit is contained in:
parent
54199d7121
commit
56f11e7524
@ -432,8 +432,9 @@ console_read(void)
|
|||||||
char
|
char
|
||||||
ctk_arch_getkey(void)
|
ctk_arch_getkey(void)
|
||||||
{
|
{
|
||||||
|
char k;
|
||||||
console_read();
|
console_read();
|
||||||
char k = keys[keys_out++];
|
k = keys[keys_out++];
|
||||||
|
|
||||||
available--;
|
available--;
|
||||||
return k;
|
return k;
|
||||||
|
Loading…
Reference in New Issue
Block a user