# HG changeset patch # User Andrew Innes # Date 966984115 0 # Node ID a805d5d9bc7e68affd10c2287100595de2591ae8 # Parent 6a0caa7880130d1fa8b4256f6747ba6343d8b3a3 (write_segment) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. diff -r 6a0caa788013 -r a805d5d9bc7e src/unexec.c --- 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;