summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 22:41:55 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 22:41:55 +0000
commita5e73edce64c7ce518eb84d9bae019ab2e18ead8 (patch)
treee7993d9641171066886d3c363185f58f21615dfb
parent2538fae4f8e5e7a82449dd904d471439c9eb6345 (diff)
downloademacs-a5e73edce64c7ce518eb84d9bae019ab2e18ead8.tar.gz
(write_segment) [USE_CRT_DLL]: Remove unnecessary
extern, which screws up dllimport attributes.
-rw-r--r--src/unexec.c2
1 files changed, 2 insertions, 0 deletions
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;