Mercurial > emacs
comparison src/unexec.c @ 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 | 1e6eeead2f1d |
children | b6ca9b64ce9f |
comparison
equal
deleted
inserted
replaced
31102:6a0caa788013 | 31103:a805d5d9bc7e |
---|---|
1065 int new; | 1065 int new; |
1066 register char *ptr, *end; | 1066 register char *ptr, *end; |
1067 { | 1067 { |
1068 register int i, nwrite, ret; | 1068 register int i, nwrite, ret; |
1069 char buf[80]; | 1069 char buf[80]; |
1070 #ifndef USE_CRT_DLL | |
1070 extern int errno; | 1071 extern int errno; |
1072 #endif | |
1071 /* This is the normal amount to write at once. | 1073 /* This is the normal amount to write at once. |
1072 It is the size of block that NFS uses. */ | 1074 It is the size of block that NFS uses. */ |
1073 int writesize = 1 << 13; | 1075 int writesize = 1 << 13; |
1074 int pagesize = getpagesize (); | 1076 int pagesize = getpagesize (); |
1075 char zeros[1 << 13]; | 1077 char zeros[1 << 13]; |