parent
753e78d122
commit
4dd9d5eb6c
|
@ -39,7 +39,7 @@ struct Main
|
||||||
{
|
{
|
||||||
int old_state = old_st & key;
|
int old_state = old_st & key;
|
||||||
int new_state = new_st & key;
|
int new_state = new_st & key;
|
||||||
int key_code;
|
int key_code = Input::KEY_UNKNOWN;
|
||||||
|
|
||||||
if (old_state == new_state){
|
if (old_state == new_state){
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -61,7 +61,7 @@ extern "C" {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Genode::size_t strlen(char *str)
|
Genode::size_t strlen(const char *str)
|
||||||
{
|
{
|
||||||
Genode::size_t len = 0;
|
Genode::size_t len = 0;
|
||||||
while (str[++len] != '\0');
|
while (str[++len] != '\0');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user