From a5e73edce64c7ce518eb84d9bae019ab2e18ead8 Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Tue, 22 Aug 2000 22:41:55 +0000 Subject: [PATCH] (write_segment) [USE_CRT_DLL]: Remove unnecessary extern, which screws up dllimport attributes. --- src/unexec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unexec.c b/src/unexec.c index 7dac7323ff3..fb00c27e54b 100644 --- a/src/unexec.c +++ b/src/unexec.c @@ -1067,7 +1067,9 @@ write_segment (new, ptr, end) { 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; -- 2.39.2