summaryrefslogtreecommitdiff
path: root/src/unexec.c
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
commited2ee974f0992992999fcf4693a48b28ba956842 (patch)
treead0af67eaa68ff6b3c7d46961b46ba25cacca0e7 /src/unexec.c
parent46e2818174b8ff2e0f54101f592f33695b515f82 (diff)
downloademacs-ed2ee974f0992992999fcf4693a48b28ba956842.tar.gz
(write_segment) [USE_CRT_DLL]: Remove unnecessary
extern, which screws up dllimport attributes.
Diffstat (limited to 'src/unexec.c')
-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;