summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/helpers.h
blob: c8cb9c155463f8aadbe7a3496cda16e0bd7e8989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 */