13 |
|
|
14 |
|
#include "rterror.h" |
15 |
|
|
16 |
< |
char * /* return pointer to n uninitialized bytes */ |
16 |
> |
extern char * /* return pointer to n uninitialized bytes */ |
17 |
|
emalloc(unsigned int n) |
18 |
|
{ |
19 |
|
register char *cp; |
29 |
|
} |
30 |
|
|
31 |
|
|
32 |
< |
char * /* return pointer to initialized memory */ |
32 |
> |
extern char * /* return pointer to initialized memory */ |
33 |
|
ecalloc(register unsigned int ne, unsigned int es) |
34 |
|
{ |
35 |
|
register char *cp; |
49 |
|
} |
50 |
|
|
51 |
|
|
52 |
< |
char * /* reallocate cp to size n */ |
52 |
> |
extern char * /* reallocate cp to size n */ |
53 |
|
erealloc(register char *cp, unsigned int n) |
54 |
|
{ |
55 |
|
if (n == 0) { |
71 |
|
} |
72 |
|
|
73 |
|
|
74 |
< |
void /* free memory allocated by above */ |
74 |
> |
extern void /* free memory allocated by above */ |
75 |
|
efree(char *cp) |
76 |
|
{ |
77 |
|
free((void *)cp); |