Mercurial > hg > index.cgi
comparison lwlib/lw_realloc.c @ 374:8e25147c2aa8
Clean up various "externs"
Apparently some compilers seriously choke on the "extern" keyword in some
circumstances where GCC does not. Remove most instances of "extern" to guard
against that.
Thanks to Erik G <erik@6809.org> for the patch.
author | William Astle <lost@l-w.ca> |
---|---|
date | Mon, 13 Jul 2015 20:31:56 -0600 |
parents | ac311e7ffed6 |
children |
comparison
equal
deleted
inserted
replaced
373:00fced888c5d | 374:8e25147c2aa8 |
---|---|
19 this program. If not, see <http://www.gnu.org/licenses/>. | 19 this program. If not, see <http://www.gnu.org/licenses/>. |
20 */ | 20 */ |
21 | 21 |
22 #include <stdlib.h> | 22 #include <stdlib.h> |
23 | 23 |
24 #define ___lw_alloc_c_seen___ | |
25 #include "lw_alloc.h" | 24 #include "lw_alloc.h" |
26 | 25 |
27 void *lw_realloc(void *P, int S) | 26 void *lw_realloc(void *P, int S) |
28 { | 27 { |
29 void *r; | 28 void *r; |