Index: trunk/src/flag_str.c =================================================================== --- trunk/src/flag_str.c (revision 37764) +++ trunk/src/flag_str.c (revision 37765) @@ -167,7 +167,7 @@ } } -static inline void set_layer_list(int layer, int v) +RND_INLINE void set_layer_list(int layer, int v) { if (layer >= num_layers) grow_layer_list(layer + 1); Index: trunk/src/main_act.c =================================================================== --- trunk/src/main_act.c (revision 37764) +++ trunk/src/main_act.c (revision 37765) @@ -57,7 +57,7 @@ #define PCB do_not_use_PCB /* print usage lines */ -static inline void u(const char *fmt, ...) +RND_INLINE void u(const char *fmt, ...) { va_list ap; va_start(ap, fmt); Index: trunk/src/polygon.c =================================================================== --- trunk/src/polygon.c (revision 37764) +++ trunk/src/polygon.c (revision 37765) @@ -301,8 +301,8 @@ } -/* clear np1 from the polygon - should be inline with -O3 */ -static int Subtract(rnd_polyarea_t * np1, pcb_poly_t * p, rnd_bool fnp) +/* clear np1 from the polygon */ +RND_INLINE int Subtract(rnd_polyarea_t * np1, pcb_poly_t * p, rnd_bool fnp) { rnd_polyarea_t *merged = NULL, *np = np1; int x;