changeset 31100:92f108b8b281

[USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:38:05 +0000
parents 0fe5afca71e4
children 1a4f15527382
files src/callproc.c src/lread.c src/strftime.c
diffstat 3 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Aug 22 22:36:52 2000 +0000
+++ b/src/callproc.c	Tue Aug 22 22:38:05 2000 +0000
@@ -24,7 +24,9 @@
 #include <errno.h>
 #include <stdio.h>
 
+#ifndef USE_CRT_DLL
 extern int errno;
+#endif
 
 /* Define SIGCHLD as an alias for SIGCLD.  */
 
@@ -88,8 +90,10 @@
 #ifdef VMS
 extern noshare char **environ;
 #else
+#ifndef USE_CRT_DLL
 extern char **environ;
 #endif
+#endif
 
 #ifdef HAVE_SETPGID
 #if !defined (USG) || defined (BSD_PGRPS)
--- a/src/lread.c	Tue Aug 22 22:36:52 2000 +0000
+++ b/src/lread.c	Tue Aug 22 22:38:05 2000 +0000
@@ -72,7 +72,9 @@
 #define file_tell ftell
 #endif
 
+#ifndef USE_CRT_DLL
 extern int errno;
+#endif
 
 Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list;
 Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist;
--- a/src/strftime.c	Tue Aug 22 22:36:52 2000 +0000
+++ b/src/strftime.c	Tue Aug 22 22:38:05 2000 +0000
@@ -52,8 +52,10 @@
 # endif
 #endif
 #if HAVE_TZNAME
+#ifndef USE_CRT_DLL
 extern char *tzname[];
 #endif
+#endif
 
 /* Do multibyte processing if multibytes are supported, unless
    multibyte sequences are safe in formats.  Multibyte sequences are