summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/helpers.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 21:04:40 +0000
commit50a6ca39ad4ed01922aa4f755f0ca579788226cf (patch)
treec7881b015b220558167310345b162324c96be15a /apps/plugins/zxbox/helpers.h
parentadb506df14aded06ed6e9ebf8540e6fd383ffd6a (diff)
downloadrockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.tar.gz
rockbox-50a6ca39ad4ed01922aa4f755f0ca579788226cf.zip
Move c/h files implementing/defining standard library stuff into a new libc 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
Diffstat (limited to 'apps/plugins/zxbox/helpers.h')
-rw-r--r--apps/plugins/zxbox/helpers.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/zxbox/helpers.h b/apps/plugins/zxbox/helpers.h
index ba8607d5cb..c8cb9c1554 100644
--- a/apps/plugins/zxbox/helpers.h
+++ b/apps/plugins/zxbox/helpers.h
@@ -7,9 +7,12 @@ extern off_t my_ftell(int);
7extern void *my_malloc(size_t size); 7extern void *my_malloc(size_t size);
8 8
9 9
10#undef getc
10#define getc my_getc 11#define getc my_getc
11#define malloc my_malloc 12#undef putc
12#define ftell my_ftell
13#define putc my_putc 13#define putc my_putc
14#undef ftell
15#define ftell my_ftell
16#define malloc my_malloc
14 17
15#endif /* HELPERS_H */ 18#endif /* HELPERS_H */