mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
parent
753e78d122
commit
4dd9d5eb6c
@ -39,7 +39,7 @@ struct Main
|
||||
{
|
||||
int old_state = old_st & key;
|
||||
int new_state = new_st & key;
|
||||
int key_code;
|
||||
int key_code = Input::KEY_UNKNOWN;
|
||||
|
||||
if (old_state == new_state){
|
||||
return;
|
||||
|
@ -61,7 +61,7 @@ extern "C" {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Genode::size_t strlen(char *str)
|
||||
Genode::size_t strlen(const char *str)
|
||||
{
|
||||
Genode::size_t len = 0;
|
||||
while (str[++len] != '\0');
|
||||
|
Loading…
x
Reference in New Issue
Block a user