mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
fix red, strtok_r being annoying on sim builds
Change-Id: Ifb884a53d801db9534dd0c5ab5921800e971963e
This commit is contained in:
parent
6dbfd44b6e
commit
4b1221d556
2 changed files with 3 additions and 2 deletions
|
|
@ -62,7 +62,7 @@ void load_from_cfg(void)
|
|||
|
||||
rb->root_menu_write_to_cfg(NULL, config_str, sizeof(config_str));
|
||||
|
||||
token = strtok_r(config_str, ", ", &save);
|
||||
token = rb->strtok_r(config_str, ", ", &save);
|
||||
|
||||
while (token)
|
||||
{
|
||||
|
|
@ -78,7 +78,7 @@ void load_from_cfg(void)
|
|||
menu_items[done].enabled = true;
|
||||
done++;
|
||||
}
|
||||
token = strtok_r(NULL, ", ", &save);
|
||||
token = rb->strtok_r(NULL, ", ", &save);
|
||||
}
|
||||
|
||||
if (done < menu_item_count)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue