From: Andrew Innes Date: Tue, 22 Aug 2000 22:19:26 +0000 (+0000) Subject: [USE_CRT_DLL]: Remove unnecessary extern, which screws X-Git-Tag: emacs-pretest-21.0.90~2045 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f12ef5ebfd680c9aeeab106d0de5966ee3bf2075;p=emacs.git [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- 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. */ #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)); 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. */ #include #ifndef vax11c +#ifndef USE_CRT_DLL extern int errno; #endif +#endif #ifdef APOLLO #include 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 (); #ifdef FLOAT_CHECK_ERRNO # include +#ifndef USE_CRT_DLL extern int errno; #endif +#endif /* Avoid traps on VMS from sinh and cosh. All the other functions set errno instead. */