repo.or.cz
/
kugel-rb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move c/h files implementing/defining standard library stuff into a new libc directory...
[kugel-rb.git]
/
apps
/
plugins
/
zxbox
/
helpers.h
blob
c8cb9c155463f8aadbe7a3496cda16e0bd7e8989
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
#undef getc
11
#define getc my_getc
12
#undef putc
13
#define putc my_putc
14
#undef ftell
15
#define ftell my_ftell
16
#define malloc my_malloc
17
18
#endif
/* HELPERS_H */