changeset 31094:7949e7792b02

(malloc_initialize_hook) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (main): Ditto.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:16:41 +0000
parents 6da961dff718
children e19d38e14720
files src/emacs.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Tue Aug 22 22:14:00 2000 +0000
+++ b/src/emacs.c	Tue Aug 22 22:16:41 2000 +0000
@@ -660,7 +660,9 @@
 static void
 malloc_initialize_hook ()
 {
+#ifndef USE_CRT_DLL
   extern char **environ;
+#endif
 
   if (initialized)
     {
@@ -705,8 +707,10 @@
   char stack_bottom_variable;
   int do_initial_setlocale;
   int skip_args = 0;
+#ifndef USE_CRT_DLL
   extern int errno;
   extern int sys_nerr;
+#endif
 #ifdef HAVE_SETRLIMIT
   struct rlimit rlim;
 #endif