comparison lwlib/lw_string.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 2c24602be78f
children
comparison
equal deleted inserted replaced
373:00fced888c5d 374:8e25147c2aa8
20 */ 20 */
21 21
22 #include <string.h> 22 #include <string.h>
23 #include <stdlib.h> 23 #include <stdlib.h>
24 24
25 #define ___lw_string_c_seen___
26 #include "lw_alloc.h" 25 #include "lw_alloc.h"
27 #include "lw_string.h" 26 #include "lw_string.h"
28 27
29 char *lw_strdup(const char *s) 28 char *lw_strdup(const char *s)
30 { 29 {