aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes <[email protected]>2000-08-22 22:38:05 +0000
committerAndrew Innes <[email protected]>2000-08-22 22:38:05 +0000
commit03695acef74e736c8d6538c56d39d535008fd72d (patch)
treecc792483b81d3e4437df16cd305388e454e81cf1
parent3ec68006ee3994a79d6df34a036d870b4cfebe7e (diff)
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
-rw-r--r--src/callproc.c4
-rw-r--r--src/lread.c2
-rw-r--r--src/strftime.c2
3 files changed, 8 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c
index b29572bae0..bf2fabcc75 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */
#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 @@ extern int errno;
#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)
diff --git a/src/lread.c b/src/lread.c
index 723a81a123..7f8711aa5e 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -72,7 +72,9 @@ Boston, MA 02111-1307, USA. */
#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;
diff --git a/src/strftime.c b/src/strftime.c
index f2a0e08ce9..462e8a2a6c 100644
--- a/src/strftime.c
+++ b/src/strftime.c
@@ -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