aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 22:16:41 +0000
committerAndrew Innes2000-08-22 22:16:41 +0000
commit1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f (patch)
treee10698cdffb3f520a45096afcd40aeac9364d8f4 /src
parentd43721a22ec2e1d02433a9ef87af31bd57ca40e4 (diff)
downloademacs-1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f.tar.gz
emacs-1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f.zip
(malloc_initialize_hook) [USE_CRT_DLL]: Remove
unnecessary extern, which screws up dllimport attributes. (main): Ditto.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c4
1 files changed, 4 insertions, 0 deletions
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)
660static void 660static void
661malloc_initialize_hook () 661malloc_initialize_hook ()
662{ 662{
663#ifndef USE_CRT_DLL
663 extern char **environ; 664 extern char **environ;
665#endif
664 666
665 if (initialized) 667 if (initialized)
666 { 668 {
@@ -705,8 +707,10 @@ main (argc, argv, envp)
705 char stack_bottom_variable; 707 char stack_bottom_variable;
706 int do_initial_setlocale; 708 int do_initial_setlocale;
707 int skip_args = 0; 709 int skip_args = 0;
710#ifndef USE_CRT_DLL
708 extern int errno; 711 extern int errno;
709 extern int sys_nerr; 712 extern int sys_nerr;
713#endif
710#ifdef HAVE_SETRLIMIT 714#ifdef HAVE_SETRLIMIT
711 struct rlimit rlim; 715 struct rlimit rlim;
712#endif 716#endif