aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2000-08-22 22:19:26 +0000
committerAndrew Innes2000-08-22 22:19:26 +0000
commitf12ef5ebfd680c9aeeab106d0de5966ee3bf2075 (patch)
tree0d9395cf00783823e36d849d0eb510cdf3d18bf6
parent1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f (diff)
downloademacs-f12ef5ebfd680c9aeeab106d0de5966ee3bf2075.tar.gz
emacs-f12ef5ebfd680c9aeeab106d0de5966ee3bf2075.zip
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
-rw-r--r--src/editfns.c3
-rw-r--r--src/fileio.c2
-rw-r--r--src/floatfns.c2
3 files changed, 7 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c
index eab21a4e82a..b4044d2bb78 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -49,7 +49,10 @@ Boston, MA 02111-1307, USA. */
49#define NULL 0 49#define NULL 0
50#endif 50#endif
51 51
52#ifndef USE_CRT_DLL
52extern char **environ; 53extern char **environ;
54#endif
55
53extern Lisp_Object make_time P_ ((time_t)); 56extern Lisp_Object make_time P_ ((time_t));
54extern size_t emacs_strftimeu P_ ((char *, size_t, const char *, 57extern size_t emacs_strftimeu P_ ((char *, size_t, const char *,
55 const struct tm *, int)); 58 const struct tm *, int));
diff --git a/src/fileio.c b/src/fileio.c
index 38a605ad12f..b5b9213d895 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -65,8 +65,10 @@ Boston, MA 02111-1307, USA. */
65#include <errno.h> 65#include <errno.h>
66 66
67#ifndef vax11c 67#ifndef vax11c
68#ifndef USE_CRT_DLL
68extern int errno; 69extern int errno;
69#endif 70#endif
71#endif
70 72
71#ifdef APOLLO 73#ifdef APOLLO
72#include <sys/time.h> 74#include <sys/time.h>
diff --git a/src/floatfns.c b/src/floatfns.c
index d6cbb876e37..db1c3a7231e 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -107,8 +107,10 @@ extern double logb ();
107#ifdef FLOAT_CHECK_ERRNO 107#ifdef FLOAT_CHECK_ERRNO
108# include <errno.h> 108# include <errno.h>
109 109
110#ifndef USE_CRT_DLL
110extern int errno; 111extern int errno;
111#endif 112#endif
113#endif
112 114
113/* Avoid traps on VMS from sinh and cosh. 115/* Avoid traps on VMS from sinh and cosh.
114 All the other functions set errno instead. */ 116 All the other functions set errno instead. */