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:
parent
3cca7e8650
commit
68947473e1
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue