mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-06 21:25:03 -05:00
libc: Add an implementation of strtol/strtoul and export it via plugins
These were lifted from the lua plugin. sdl, doom, puzzles updated to use the exported version todo: lua, maybe? also: convert uses of atoi [back] to strtol Change-Id: I5a1ebbe8d8c99349e594ab9bbbce474e7645b4e9
This commit is contained in:
parent
32edbd430d
commit
481cc70fe0
13 changed files with 103 additions and 100 deletions
|
|
@ -300,6 +300,8 @@ common/inflate.c
|
|||
/* Standard library */
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) || defined(HAVE_ROCKBOX_C_LIBRARY)
|
||||
libc/atoi.c
|
||||
libc/strtol.c
|
||||
libc/strtoul.c
|
||||
libc/errno.c
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
/* our ctype.[ch] comes from newlib and is incompitble with most desktop's ctype */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue