--- ray/src/common/ealloc.c 2003/07/30 10:11:06 2.6 +++ ray/src/common/ealloc.c 2003/10/27 10:19:31 2.7 @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: ealloc.c,v 2.6 2003/07/30 10:11:06 schorsch Exp $"; +static const char RCSid[] = "$Id: ealloc.c,v 2.7 2003/10/27 10:19:31 schorsch Exp $"; #endif /* * ealloc.c - memory routines which call quit on error. @@ -13,7 +13,7 @@ static const char RCSid[] = "$Id: ealloc.c,v 2.6 2003/ #include "rterror.h" -char * /* return pointer to n uninitialized bytes */ +extern char * /* return pointer to n uninitialized bytes */ emalloc(unsigned int n) { register char *cp; @@ -29,7 +29,7 @@ emalloc(unsigned int n) } -char * /* return pointer to initialized memory */ +extern char * /* return pointer to initialized memory */ ecalloc(register unsigned int ne, unsigned int es) { register char *cp; @@ -49,7 +49,7 @@ ecalloc(register unsigned int ne, unsigned int es) } -char * /* reallocate cp to size n */ +extern char * /* reallocate cp to size n */ erealloc(register char *cp, unsigned int n) { if (n == 0) { @@ -71,7 +71,7 @@ erealloc(register char *cp, unsigned int n) } -void /* free memory allocated by above */ +extern void /* free memory allocated by above */ efree(char *cp) { free((void *)cp);