Mercurial > emacs
changeset 30231:5b3608e3adaf
(xmalloc, xrealloc): Make externally visible, for use
by alloca.o.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Fri, 14 Jul 2000 17:59:42 +0000 |
parents | 9828723e6f50 |
children | ad501fc526c2 |
files | lib-src/etags.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib-src/etags.c Fri Jul 14 17:59:27 2000 +0000 +++ b/lib-src/etags.c Fri Jul 14 17:59:42 2000 +0000 @@ -308,8 +308,8 @@ static bool filename_is_absolute P_((char *f)); static void canonicalize_filename P_((char *)); static void grow_linebuffer P_((linebuffer *, int)); -static long *xmalloc P_((unsigned int)); -static long *xrealloc P_((char *, unsigned int)); +long *xmalloc P_((unsigned int)); +long *xrealloc P_((char *, unsigned int)); char searchar = '/'; /* use /.../ searches */ @@ -5508,7 +5508,7 @@ } /* Like malloc but get fatal error if memory is exhausted. */ -static long * +long * xmalloc (size) unsigned int size; { @@ -5518,7 +5518,7 @@ return result; } -static long * +long * xrealloc (ptr, size) char *ptr; unsigned int size;