From: Andrew Innes Date: Tue, 22 Aug 2000 22:38:05 +0000 (+0000) Subject: [USE_CRT_DLL]: Remove unnecessary extern, which X-Git-Tag: emacs-pretest-21.0.90~2040 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=03695acef74e736c8d6538c56d39d535008fd72d;p=emacs.git [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- 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 #include +#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