aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorRichard M. Stallman1995-05-04 06:46:51 +0000
committerRichard M. Stallman1995-05-04 06:46:51 +0000
commit2583d6d741589e8bb2a5935247a3b0aa76f3893d (patch)
tree074b9d005602417281b405399dbcb6b3cf4df867 /lib-src
parent0404b62c850bf34f17eeb3ed1b09e77ccd81fa03 (diff)
downloademacs-2583d6d741589e8bb2a5935247a3b0aa76f3893d.tar.gz
emacs-2583d6d741589e8bb2a5935247a3b0aa76f3893d.zip
(xmalloc): Declare it to return long *.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/movemail.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index ce36dfdb656..36a837e9310 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -116,7 +116,7 @@ void error ();
116void pfatal_with_name (); 116void pfatal_with_name ();
117void pfatal_and_delete (); 117void pfatal_and_delete ();
118char *concat (); 118char *concat ();
119char *xmalloc (); 119long *xmalloc ();
120int popmail (); 120int popmail ();
121int pop_retr (); 121int pop_retr ();
122int mbx_write (); 122int mbx_write ();
@@ -430,11 +430,11 @@ concat (s1, s2, s3)
430 430
431/* Like malloc but get fatal error if memory is exhausted. */ 431/* Like malloc but get fatal error if memory is exhausted. */
432 432
433char * 433long *
434xmalloc (size) 434xmalloc (size)
435 unsigned size; 435 unsigned size;
436{ 436{
437 char *result = (char *) malloc (size); 437 long *result = (long *) malloc (size);
438 if (!result) 438 if (!result)
439 fatal ("virtual memory exhausted", 0); 439 fatal ("virtual memory exhausted", 0);
440 return result; 440 return result;