mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +00:00
13 lines
155 B
C
13 lines
155 B
C
extern int _end;
|
|
|
|
static char *end_of_data = (char *) &_end;
|
|
|
|
char *
|
|
_sbrk (int delta) {
|
|
char *ptr = end_of_data;
|
|
|
|
end_of_data += delta;
|
|
return ptr;
|
|
}
|
|
|