summaryrefslogtreecommitdiff
path: root/firmware/libc/include (follow)
Commit message (Collapse)AuthorAge
* Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.Thomas Martitz2010-08-27
| | | | | | | | Removes the need to fix up those in the simulator. Also work around some posix-mingw incompatibilities (e.g. getcwd()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
* Move some gcc extensions to new gcc_extensions.h headerRafaël Carré2010-07-25
| | | | | | | | | | | | - Move ATTRIBUTE_PRINTF/ATTRIBUTE_SCANF from _ansi.h They are not related at all to this file, and this broke compilation with Code Sourcery GCC which ships its own _ansi.h - Move LIKELY/UNLIKELY from system.h There is likely a lot more GCC extensions used everywhere in the source, conditionally on __GNUC__ or unconditionally git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27548 a1c6a512-1295-4272-9138-f99709370657
* inttypes.h: remove excessive PRI*PTR declaration when long isn't 64 bitsRafaël Carré2010-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26412 a1c6a512-1295-4272-9138-f99709370657
* inttypes.h: add (some) iso c99 fprintf format specifiersRafaël Carré2010-05-30
| | | | | | | | | | | Skipped the specifiers for octal, (u)int_leastN_t, (u)int_fastN_t and (u)intmax_t as we don't use them in rockbox Specifiers use the types specified in stdint.h Specifiers for short (16 bits) and char (8 bits) use the int specifier, our format.c doesn't know about 'h' and 'hh' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26411 a1c6a512-1295-4272-9138-f99709370657
* - Move uisimulator/sdl/*.[ch] into the target tree, under ↵Thomas Martitz2010-05-15
| | | | | | | | | | firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. - Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization). This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
* vuprintf does not belong in stdio.h, causes problems with other versions of ↵Jeffrey Goode2010-05-15
| | | | | | stdio.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26042 a1c6a512-1295-4272-9138-f99709370657
* Move include/sys along with libc/, so hosted (sim/RaaA) builds use the ↵Frank Gevaerts2010-05-14
| | | | | | proper files for their OS git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26030 a1c6a512-1295-4272-9138-f99709370657
* Move math.h to firmware/libc/include/ and fix slight incompatibilities ↵Thomas Martitz2010-05-14
| | | | | | between our and the host's math.h git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26020 a1c6a512-1295-4272-9138-f99709370657
* Define size_t the way the gcc/glibc people intendedFrank Gevaerts2010-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25862 a1c6a512-1295-4272-9138-f99709370657
* string.h shouldn't include stddef.hFrank Gevaerts2010-05-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25860 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657