1
0
Fork 0
forked from len0rd/rockbox

Move math.h to firmware/libc/include/ and fix slight incompatibilities between our and the host's math.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26020 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2010-05-14 12:43:45 +00:00
parent 3cca7e8650
commit 68947473e1
3 changed files with 8 additions and 3 deletions

View file

@ -51,8 +51,11 @@ struct tm *gmtime(const time_t *timep);
long strtol(const char *nptr, char **endptr, int base);
unsigned long strtoul(const char *str, char **endptr, int base);
size_t strftime(char* dst, size_t max, const char* format, const struct tm* tm);
long floor(long x);
long pow(long x, long y);
long lfloor(long x);
long lpow(long x, long y);
#define floor lfloor
#define pow lpow
/* Simple substitutions */
#define realloc dlrealloc