comparison lwlib/lw_alloc.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
18 You should have received a copy of the GNU General Public License along with 18 You should have received a copy of the GNU General Public License along with
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
24 #define ___lw_alloc_c_seen___
25 #include "lw_alloc.h" 23 #include "lw_alloc.h"
26 24
27 void *lw_alloc(int size) 25 void *lw_alloc(int size)
28 { 26 {
29 void *r; 27 void *r;