# HG changeset patch # User Andrew Innes # Date 966982601 0 # Node ID 7949e7792b02e8f9503ecaf5224d1ebdcfccc7ca # Parent 6da961dff718913d4af6ba5f199905541d6c38c9 (malloc_initialize_hook) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. (main): Ditto. diff -r 6da961dff718 -r 7949e7792b02 src/emacs.c --- 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