Commit 1f9c3929 authored by Andrew Innes's avatar Andrew Innes
Browse files

(malloc_initialize_hook) [USE_CRT_DLL]: Remove

unnecessary extern, which screws up dllimport attributes.
(main): Ditto.
parent d43721a2
...@@ -660,7 +660,9 @@ argmatch (argv, argc, sstr, lstr, minlen, valptr, skipptr) ...@@ -660,7 +660,9 @@ argmatch (argv, argc, sstr, lstr, minlen, valptr, skipptr)
static void static void
malloc_initialize_hook () malloc_initialize_hook ()
{ {
#ifndef USE_CRT_DLL
extern char **environ; extern char **environ;
#endif
if (initialized) if (initialized)
{ {
...@@ -705,8 +707,10 @@ main (argc, argv, envp) ...@@ -705,8 +707,10 @@ main (argc, argv, envp)
char stack_bottom_variable; char stack_bottom_variable;
int do_initial_setlocale; int do_initial_setlocale;
int skip_args = 0; int skip_args = 0;
#ifndef USE_CRT_DLL
extern int errno; extern int errno;
extern int sys_nerr; extern int sys_nerr;
#endif
#ifdef HAVE_SETRLIMIT #ifdef HAVE_SETRLIMIT
struct rlimit rlim; struct rlimit rlim;
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment