50a6ca39ad
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
18 lines
310 B
C
18 lines
310 B
C
#ifndef HELPERS_H
|
|
#define HELPERS_H
|
|
|
|
extern int my_getc(int);
|
|
extern int my_putc(char,int);
|
|
extern off_t my_ftell(int);
|
|
extern void *my_malloc(size_t size);
|
|
|
|
|
|
#undef getc
|
|
#define getc my_getc
|
|
#undef putc
|
|
#define putc my_putc
|
|
#undef ftell
|
|
#define ftell my_ftell
|
|
#define malloc my_malloc
|
|
|
|
#endif /* HELPERS_H */
|