diff options
| author | Andrew Innes | 2000-08-22 22:38:05 +0000 |
|---|---|---|
| committer | Andrew Innes | 2000-08-22 22:38:05 +0000 |
| commit | 03695acef74e736c8d6538c56d39d535008fd72d (patch) | |
| tree | cc792483b81d3e4437df16cd305388e454e81cf1 /src | |
| parent | 3ec68006ee3994a79d6df34a036d870b4cfebe7e (diff) | |
| download | emacs-03695acef74e736c8d6538c56d39d535008fd72d.tar.gz emacs-03695acef74e736c8d6538c56d39d535008fd72d.zip | |
[USE_CRT_DLL]: Remove unnecessary extern, which
screws up dllimport attributes.
Diffstat (limited to 'src')
| -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. */ | |||
| 24 | #include <errno.h> | 24 | #include <errno.h> |
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | 26 | ||
| 27 | #ifndef USE_CRT_DLL | ||
| 27 | extern int errno; | 28 | extern int errno; |
| 29 | #endif | ||
| 28 | 30 | ||
| 29 | /* Define SIGCHLD as an alias for SIGCLD. */ | 31 | /* Define SIGCHLD as an alias for SIGCLD. */ |
| 30 | 32 | ||
| @@ -88,8 +90,10 @@ extern int errno; | |||
| 88 | #ifdef VMS | 90 | #ifdef VMS |
| 89 | extern noshare char **environ; | 91 | extern noshare char **environ; |
| 90 | #else | 92 | #else |
| 93 | #ifndef USE_CRT_DLL | ||
| 91 | extern char **environ; | 94 | extern char **environ; |
| 92 | #endif | 95 | #endif |
| 96 | #endif | ||
| 93 | 97 | ||
| 94 | #ifdef HAVE_SETPGID | 98 | #ifdef HAVE_SETPGID |
| 95 | #if !defined (USG) || defined (BSD_PGRPS) | 99 | #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. */ | |||
| 72 | #define file_tell ftell | 72 | #define file_tell ftell |
| 73 | #endif | 73 | #endif |
| 74 | 74 | ||
| 75 | #ifndef USE_CRT_DLL | ||
| 75 | extern int errno; | 76 | extern int errno; |
| 77 | #endif | ||
| 76 | 78 | ||
| 77 | Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; | 79 | Lisp_Object Qread_char, Qget_file_char, Qstandard_input, Qcurrent_load_list; |
| 78 | Lisp_Object Qvariable_documentation, Vvalues, Vstandard_input, Vafter_load_alist; | 80 | 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 @@ | |||
| 52 | # endif | 52 | # endif |
| 53 | #endif | 53 | #endif |
| 54 | #if HAVE_TZNAME | 54 | #if HAVE_TZNAME |
| 55 | #ifndef USE_CRT_DLL | ||
| 55 | extern char *tzname[]; | 56 | extern char *tzname[]; |
| 56 | #endif | 57 | #endif |
| 58 | #endif | ||
| 57 | 59 | ||
| 58 | /* Do multibyte processing if multibytes are supported, unless | 60 | /* Do multibyte processing if multibytes are supported, unless |
| 59 | multibyte sequences are safe in formats. Multibyte sequences are | 61 | multibyte sequences are safe in formats. Multibyte sequences are |