summaryrefslogtreecommitdiff
path: root/lib-src
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-07-14 17:59:42 +0000
committerGerd Moellmann <gerd@gnu.org>2000-07-14 17:59:42 +0000
commitae342d44540bcb791c39f4324c6b7dd7e41a6dfb (patch)
tree34a7ea43fdef53f42796ca23d1af68906d33f2c5 /lib-src
parent610d0a764fb10e796f4c779bc3bf128ecb7ec468 (diff)
downloademacs-ae342d44540bcb791c39f4324c6b7dd7e41a6dfb.tar.gz
(xmalloc, xrealloc): Make externally visible, for use
by alloca.o.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c8
1 files 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;