Rev 4872 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4349 | Serge | 1 | #ifdef MALLOC_PROVIDED |
2 | int _dummy_calloc = 1; |
||
3 | #else |
||
4 | /* realloc.c -- a wrapper for realloc_r. */ |
||
5 | |||
6 | #include <_ansi.h> |
||
7 | #include |
||
8 | #include |
||
9 | #include |
||
10 | |||
11 | #ifndef _REENT_ONLY |
||
12 | |||
13 | _PTR |
||
14 | _DEFUN (realloc, (ap, nbytes), |
||
15 | _PTR ap _AND |
||
16 | size_t nbytes) |
||
17 | { |
||
18 | return _realloc_r (_REENT, ap, nbytes); |
||
19 | } |
||
20 | |||
21 | #endif |
||
22 | #endif /* MALLOC_PROVIDED */ |