aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-14 17:59:42 +0000
committerGerd Moellmann2000-07-14 17:59:42 +0000
commit9bd7c104aff6216e0a9b06c45e4124fcd490930d (patch)
tree2ee4775c634a14a3c4503995367863331067bfea /lib-src
parent32b4c0e90bb4e68f139eb18f56adc791bd96406a (diff)
downloademacs-9bd7c104aff6216e0a9b06c45e4124fcd490930d.tar.gz
emacs-9bd7c104aff6216e0a9b06c45e4124fcd490930d.zip
(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 *));
308static bool filename_is_absolute P_((char *f)); 308static bool filename_is_absolute P_((char *f));
309static void canonicalize_filename P_((char *)); 309static void canonicalize_filename P_((char *));
310static void grow_linebuffer P_((linebuffer *, int)); 310static void grow_linebuffer P_((linebuffer *, int));
311static long *xmalloc P_((unsigned int)); 311long *xmalloc P_((unsigned int));
312static long *xrealloc P_((char *, unsigned int)); 312long *xrealloc P_((char *, unsigned int));
313 313
314 314
315char searchar = '/'; /* use /.../ searches */ 315char searchar = '/'; /* use /.../ searches */
@@ -5508,7 +5508,7 @@ grow_linebuffer (lbp, toksize)
5508} 5508}
5509 5509
5510/* Like malloc but get fatal error if memory is exhausted. */ 5510/* Like malloc but get fatal error if memory is exhausted. */
5511static long * 5511long *
5512xmalloc (size) 5512xmalloc (size)
5513 unsigned int size; 5513 unsigned int size;
5514{ 5514{
@@ -5518,7 +5518,7 @@ xmalloc (size)
5518 return result; 5518 return result;
5519} 5519}
5520 5520
5521static long * 5521long *
5522xrealloc (ptr, size) 5522xrealloc (ptr, size)
5523 char *ptr; 5523 char *ptr;
5524 unsigned int size; 5524 unsigned int size;