summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/helpers.h')
-rw-r--r--apps/plugins/zxbox/helpers.h15
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
4extern int my_getc(int);
5extern int my_putc(char,int);
6extern off_t my_ftell(int);
7extern 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 */