changeset 31103:a805d5d9bc7e

(write_segment) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes.
author Andrew Innes <andrewi@gnu.org>
date Tue, 22 Aug 2000 22:41:55 +0000
parents 6a0caa788013
children 79c890cce460
files src/unexec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexec.c	Tue Aug 22 22:41:00 2000 +0000
+++ b/src/unexec.c	Tue Aug 22 22:41:55 2000 +0000
@@ -1067,7 +1067,9 @@
 {
   register int i, nwrite, ret;
   char buf[80];
+#ifndef USE_CRT_DLL
   extern int errno;
+#endif
   /* This is the normal amount to write at once.
      It is the size of block that NFS uses.  */
   int writesize = 1 << 13;