changeset 31095:e19d38e14720

[USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:19:26 +0000
parents 7949e7792b02
children c32ed4f23f34
files src/editfns.c src/fileio.c src/floatfns.c
diffstat 3 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Tue Aug 22 22:16:41 2000 +0000
+++ b/src/editfns.c	Tue Aug 22 22:19:26 2000 +0000
@@ -49,7 +49,10 @@
 #define NULL 0
 #endif
 
+#ifndef USE_CRT_DLL
 extern char **environ;
+#endif
+
 extern Lisp_Object make_time P_ ((time_t));
 extern size_t emacs_strftimeu P_ ((char *, size_t, const char *,
 				   const struct tm *, int));
--- a/src/fileio.c	Tue Aug 22 22:16:41 2000 +0000
+++ b/src/fileio.c	Tue Aug 22 22:19:26 2000 +0000
@@ -65,8 +65,10 @@
 #include <errno.h>
 
 #ifndef vax11c
+#ifndef USE_CRT_DLL
 extern int errno;
 #endif
+#endif
 
 #ifdef APOLLO
 #include <sys/time.h>
--- a/src/floatfns.c	Tue Aug 22 22:16:41 2000 +0000
+++ b/src/floatfns.c	Tue Aug 22 22:19:26 2000 +0000
@@ -107,8 +107,10 @@
 #ifdef FLOAT_CHECK_ERRNO
 # include <errno.h>
 
+#ifndef USE_CRT_DLL
 extern int errno;
 #endif
+#endif
 
 /* Avoid traps on VMS from sinh and cosh.
    All the other functions set errno instead.  */