]> code.delx.au - gnu-emacs/commitdiff
[USE_CRT_DLL]: Remove unnecessary extern, which screws
authorAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:19:26 +0000 (22:19 +0000)
committerAndrew Innes <andrewi@gnu.org>
Tue, 22 Aug 2000 22:19:26 +0000 (22:19 +0000)
up dllimport attributes.

src/editfns.c
src/fileio.c
src/floatfns.c

index eab21a4e82a308e83aaa26ccfb364a2874772d0e..b4044d2bb78af7eeed16c2ba0783b15b8b9de41b 100644 (file)
@@ -49,7 +49,10 @@ Boston, MA 02111-1307, USA.  */
 #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));
index 38a605ad12f84a9aee17ac1ac0557aed4f8df9d4..b5b9213d8957fbe919b7be63d5285154ebf83707 100644 (file)
@@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA.  */
 #include <errno.h>
 
 #ifndef vax11c
+#ifndef USE_CRT_DLL
 extern int errno;
 #endif
+#endif
 
 #ifdef APOLLO
 #include <sys/time.h>
index d6cbb876e37c785dbff4186ea3c130b6b5275473..db1c3a7231ef3661e50459b0875966a12b9a0187 100644 (file)
@@ -107,8 +107,10 @@ extern double logb ();
 #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.  */