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

(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)
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
......
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