2006-09-15 11:11:16 +00:00
|
|
|
#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);
|
|
|
|
|
|
|
|
|
2010-05-06 21:04:40 +00:00
|
|
|
#undef getc
|
2006-09-15 11:11:16 +00:00
|
|
|
#define getc my_getc
|
2010-05-06 21:04:40 +00:00
|
|
|
#undef putc
|
2006-09-15 11:11:16 +00:00
|
|
|
#define putc my_putc
|
2010-05-06 21:04:40 +00:00
|
|
|
#undef ftell
|
|
|
|
#define ftell my_ftell
|
|
|
|
#define malloc my_malloc
|
2006-09-15 11:11:16 +00:00
|
|
|
|
|
|
|
#endif /* HELPERS_H */
|