summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-11 20:38:00 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-11 20:38:00 +0000
commit70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7 (patch)
treea92b23164e5aea743ac84192ce7247c0c389f73a /src
parent2c46d29fbd886b852ec6bd39eeaaa2f5bb7ad2ed (diff)
downloademacs-70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7.tar.gz
(Fdump_emacs, main): Use memory_warnings.
Diffstat (limited to 'src')
-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)
#ifndef SYSTEM_MALLOC
if (! initialized)
- malloc_init (0, malloc_warning);
+ memory_warnings (0, malloc_warning);
#endif /* not SYSTEM_MALLOC */
#ifdef PRIO_PROCESS
@@ -688,7 +688,7 @@ This function exists on systems that use HAVE_SHM.")
/* Tell malloc where start of impure now is */
/* Also arrange for warnings when nearly out of space. */
#ifndef SYSTEM_MALLOC
- malloc_init (&my_edata, malloc_warning);
+ memory_warnings (&my_edata, malloc_warning);
#endif
map_out_data (XSTRING (intoname)->data);
@@ -733,7 +733,7 @@ and announce itself normally when it is run.")
/* Tell malloc where start of impure now is */
/* Also arrange for warnings when nearly out of space. */
#ifndef SYSTEM_MALLOC
- malloc_init (&my_edata, malloc_warning);
+ memory_warnings (&my_edata, malloc_warning);
#endif
unexec (XSTRING (intoname)->data,
!NILP (symname) ? XSTRING (symname)->data : 0, &my_edata, 0, 0);