# HG changeset patch # User Andrew Innes # Date 966982766 0 # Node ID e19d38e14720df6084d6ec28616feafceb0759f9 # Parent 7949e7792b02e8f9503ecaf5224d1ebdcfccc7ca [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. diff -r 7949e7792b02 -r e19d38e14720 src/editfns.c --- 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)); diff -r 7949e7792b02 -r e19d38e14720 src/fileio.c --- 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 #ifndef vax11c +#ifndef USE_CRT_DLL extern int errno; #endif +#endif #ifdef APOLLO #include diff -r 7949e7792b02 -r e19d38e14720 src/floatfns.c --- 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 +#ifndef USE_CRT_DLL extern int errno; #endif +#endif /* Avoid traps on VMS from sinh and cosh. All the other functions set errno instead. */