]> git.eshelyaron.com Git - emacs.git/commitdiff
(malloc_initialize_hook) [USE_CRT_DLL]: Remove
authorAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:16:41 +0000 (22:16 +0000)
committerAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:16:41 +0000 (22:16 +0000)
unnecessary extern, which screws up dllimport attributes.
(main): Ditto.

src/emacs.c

index cfc92bd9519cf5bc3989fb817e8d5ece91d6edb1..8527736cb0342530f00b5eecaefbd04999456963 100644 (file)
@@ -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