From 1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 22:16:41 +0000 Subject: [PATCH] (malloc_initialize_hook) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (main): Ditto. --- src/emacs.c | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2