From 9bd7c104aff6216e0a9b06c45e4124fcd490930d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 14 Jul 2000 17:59:42 +0000 Subject: [PATCH] (xmalloc, xrealloc): Make externally visible, for use by alloca.o. --- lib-src/etags.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib-src/etags.c b/lib-src/etags.c index 8f7949c5595..3cbdfca1b56 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c @@ -308,8 +308,8 @@ static char *absolute_dirname P_((char *, char *)); 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 @@ grow_linebuffer (lbp, toksize) } /* Like malloc but get fatal error if memory is exhausted. */ -static long * +long * xmalloc (size) unsigned int size; { @@ -5518,7 +5518,7 @@ xmalloc (size) return result; } -static long * +long * xrealloc (ptr, size) char *ptr; unsigned int size; -- 2.39.2