diff options
Diffstat (limited to 'apps/plugins/zxbox/helpers.h')
-rw-r--r-- | apps/plugins/zxbox/helpers.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/helpers.h b/apps/plugins/zxbox/helpers.h new file mode 100644 index 0000000000..ba8607d5cb --- /dev/null +++ b/apps/plugins/zxbox/helpers.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef HELPERS_H | ||
2 | #define HELPERS_H | ||
3 | |||
4 | extern int my_getc(int); | ||
5 | extern int my_putc(char,int); | ||
6 | extern off_t my_ftell(int); | ||
7 | extern void *my_malloc(size_t size); | ||
8 | |||
9 | |||
10 | #define getc my_getc | ||
11 | #define malloc my_malloc | ||
12 | #define ftell my_ftell | ||
13 | #define putc my_putc | ||
14 | |||
15 | #endif /* HELPERS_H */ | ||