# HG changeset patch # User Andrew Innes # Date 966983885 0 # Node ID 92f108b8b281b8df542ce8627e250f5ed4ef0741 # Parent 0fe5afca71e4d1f273fbb25d82baedbaea509f15 [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. diff -r 0fe5afca71e4 -r 92f108b8b281 src/callproc.c --- a/src/callproc.c Tue Aug 22 22:36:52 2000 +0000 +++ b/src/callproc.c Tue Aug 22 22:38:05 2000 +0000 @@ -24,7 +24,9 @@ #include #include +#ifndef USE_CRT_DLL extern int errno; +#endif /* Define SIGCHLD as an alias for SIGCLD. */ @@ -88,8 +90,10 @@ #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 -r 0fe5afca71e4 -r 92f108b8b281 src/lread.c --- a/src/lread.c Tue Aug 22 22:36:52 2000 +0000 +++ b/src/lread.c Tue Aug 22 22:38:05 2000 +0000 @@ -72,7 +72,9 @@ #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 -r 0fe5afca71e4 -r 92f108b8b281 src/strftime.c --- a/src/strftime.c Tue Aug 22 22:36:52 2000 +0000 +++ b/src/strftime.c Tue Aug 22 22:38:05 2000 +0000 @@ -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