From: Andrew Innes Date: Tue, 22 Aug 2000 22:16:41 +0000 (+0000) Subject: (malloc_initialize_hook) [USE_CRT_DLL]: Remove X-Git-Tag: emacs-pretest-21.0.90~2046 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f;p=emacs.git (malloc_initialize_hook) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (main): Ditto. --- diff --git a/src/emacs.c b/src/emacs.c index cfc92bd9519..8527736cb03 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -660,7 +660,9 @@ argmatch (argv, argc, sstr, lstr, minlen, valptr, skipptr) static void malloc_initialize_hook () { +#ifndef USE_CRT_DLL extern char **environ; +#endif if (initialized) { @@ -705,8 +707,10 @@ main (argc, argv, envp) 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