diff options
author | Andrew Innes <andrewi@gnu.org> | 2000-08-22 22:38:05 +0000 |
---|---|---|
committer | Andrew Innes <andrewi@gnu.org> | 2000-08-22 22:38:05 +0000 |
commit | 03695acef74e736c8d6538c56d39d535008fd72d (patch) | |
tree | cc792483b81d3e4437df16cd305388e454e81cf1 | |
parent | 3ec68006ee3994a79d6df34a036d870b4cfebe7e (diff) | |
download | emacs-03695acef74e736c8d6538c56d39d535008fd72d.tar.gz |
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
-rw-r--r-- | src/callproc.c | 4 | ||||
-rw-r--r-- | src/lread.c | 2 | ||||
-rw-r--r-- | src/strftime.c | 2 |
3 files changed, 8 insertions, 0 deletions
diff --git a/src/callproc.c b/src/callproc.c index b29572bae0c..bf2fabcc750 100644 --- a/src/callproc.c +++ b/src/callproc.c @@ -24,7 +24,9 @@ Boston, MA 02111-1307, USA. */ #include <errno.h> #include <stdio.h> +#ifndef USE_CRT_DLL extern int errno; +#endif /* Define SIGCHLD as an alias for SIGCLD. */ @@ -88,8 +90,10 @@ extern int errno; #ifdef VMS extern noshare char **environ; #else +#ifndef USE_CRT_DLL extern char **environ; #endif +#endif #ifdef HAVE_SETPGID #if !defined (USG) || defined (BSD_PGRPS) diff --git a/src/lread.c b/src/lread.c index 723a81a1234..7f8711aa5e9 100644 --- a/src/lread.c +++ b/src/lread.c @@ -72,7 +72,9 @@ Boston, MA 02111-1307, USA. */ #define file_tell ftell #endif +#ifndef USE_CRT_DLL extern int errno; +#endif Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist; diff --git a/src/strftime.c b/src/strftime.c index f2a0e08ce9e..462e8a2a6c2 100644 --- a/src/strftime.c +++ b/src/strftime.c @@ -52,8 +52,10 @@ # endif #endif #if HAVE_TZNAME +#ifndef USE_CRT_DLL extern char *tzname[]; #endif +#endif /* Do multibyte processing if multibytes are supported, unless multibyte sequences are safe in formats. Multibyte sequences are |