rockbox/firmware/libc
Michael Sevakis 6ffb8ffeee Do a better endian.h setup that isn't as fragile
We redefine the top-level macros to our own in order to maintain
compatibility with compound initializers by wrapping the mid or low
level definitions from the OS header.

This allows, hopefully optimized, macros from the host OS's headers to
be used when building any hosted target obviating the need for
NEED_GENERIC_BYTESWAPS unless the target simply doesn't define its
own optimized versions (MIPS!).

Throw in some 64-bit swaps for completeness' sake; they generate no code
if not yet used anyway.

Change-Id: I21b384b55fea46833d01ea3cad1ad8952ea01a11
2014-08-25 12:16:56 -04:00
..
include Do a better endian.h setup that isn't as fragile 2014-08-25 12:16:56 -04:00
atoi.c
ctype.c
errno.c Base scheduler queues off linked lists and do cleanup/consolidation 2014-08-16 05:15:37 -04:00
gmtime.c gmtime: avoid a modulus 2012-03-18 10:09:08 +01:00
memchr.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
memcmp.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
mktime.c
qsort.c
random.c
sprintf.c format() (and its alias vuprintf) return values are uncheck -> void 2010-09-20 08:55:45 +00:00
sscanf.c Fix reds, inclusion of C files into plugins is tricky. 2010-12-02 21:29:05 +00:00
strcat.c
strchr.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strcmp.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strcpy.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strncmp.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strrchr.c Add an advanced build option to force compiling and linking our reduced C library (probably useful for the sim). 2010-06-22 18:34:03 +00:00
strstr.c strstr(): cosmetics 2010-07-11 22:37:31 +00:00
strtok.c