aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-11 20:38:00 +0000
committerRichard M. Stallman1992-10-11 20:38:00 +0000
commit70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7 (patch)
treea92b23164e5aea743ac84192ce7247c0c389f73a
parent2c46d29fbd886b852ec6bd39eeaaa2f5bb7ad2ed (diff)
downloademacs-70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7.tar.gz
emacs-70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7.zip
(Fdump_emacs, main): Use memory_warnings.
-rw-r--r--src/emacs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c
index dcfc0a72f8a..b5650e356e7 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -310,7 +310,7 @@ main (argc, argv, envp)
310 310
311#ifndef SYSTEM_MALLOC 311#ifndef SYSTEM_MALLOC
312 if (! initialized) 312 if (! initialized)
313 malloc_init (0, malloc_warning); 313 memory_warnings (0, malloc_warning);
314#endif /* not SYSTEM_MALLOC */ 314#endif /* not SYSTEM_MALLOC */
315 315
316#ifdef PRIO_PROCESS 316#ifdef PRIO_PROCESS
@@ -688,7 +688,7 @@ This function exists on systems that use HAVE_SHM.")
688 /* Tell malloc where start of impure now is */ 688 /* Tell malloc where start of impure now is */
689 /* Also arrange for warnings when nearly out of space. */ 689 /* Also arrange for warnings when nearly out of space. */
690#ifndef SYSTEM_MALLOC 690#ifndef SYSTEM_MALLOC
691 malloc_init (&my_edata, malloc_warning); 691 memory_warnings (&my_edata, malloc_warning);
692#endif 692#endif
693 map_out_data (XSTRING (intoname)->data); 693 map_out_data (XSTRING (intoname)->data);
694 694
@@ -733,7 +733,7 @@ and announce itself normally when it is run.")
733 /* Tell malloc where start of impure now is */ 733 /* Tell malloc where start of impure now is */
734 /* Also arrange for warnings when nearly out of space. */ 734 /* Also arrange for warnings when nearly out of space. */
735#ifndef SYSTEM_MALLOC 735#ifndef SYSTEM_MALLOC
736 malloc_init (&my_edata, malloc_warning); 736 memory_warnings (&my_edata, malloc_warning);
737#endif 737#endif
738 unexec (XSTRING (intoname)->data, 738 unexec (XSTRING (intoname)->data,
739 !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0); 739 !NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);