From 70eb2c3e2d8274e4d8dd9db8f09a265757cd95d7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 11 Oct 1992 20:38:00 +0000 Subject: [PATCH] (Fdump_emacs, main): Use memory_warnings. --- src/emacs.c | 6 +++--- 1 file 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);