# HG changeset patch # User Gerd Moellmann # Date 963597582 0 # Node ID 5b3608e3adaf3176893ee294fb6f54f94b8e3ffe # Parent 9828723e6f50e6b1e71e6dcadd01e194d913dcd6 (xmalloc, xrealloc): Make externally visible, for use by alloca.o. diff -r 9828723e6f50 -r 5b3608e3adaf lib-src/etags.c --- 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;