Index: obj_subc_parent.h =================================================================== --- obj_subc_parent.h (revision 13036) +++ obj_subc_parent.h (revision 13037) @@ -28,7 +28,7 @@ #include "layer.h" /* Returns the subc a global (on-data) object is part of (or NULL if not part of any subc) */ -static inline PCB_FUNC_UNUSED pcb_subc_t *pcb_gobj_parent_subc(pcb_parenttype_t pt, pcb_parent_t *p) +PCB_INLINE pcb_subc_t *pcb_gobj_parent_subc(pcb_parenttype_t pt, pcb_parent_t *p) { if (pt != PCB_PARENT_DATA) return NULL; @@ -42,7 +42,7 @@ } /* Returns the subc a layer object is part of (or NULL if not part of any subc) */ -static inline PCB_FUNC_UNUSED pcb_subc_t *pcb_lobj_parent_subc(pcb_parenttype_t pt, pcb_parent_t *p) +PCB_INLINE pcb_subc_t *pcb_lobj_parent_subc(pcb_parenttype_t pt, pcb_parent_t *p) { if (pt != PCB_PARENT_LAYER) return NULL; @@ -59,7 +59,7 @@ } /* Returns the subc an object is part of (or NULL if not part of any subc) */ -static inline PCB_FUNC_UNUSED pcb_subc_t *pcb_obj_parent_subc(pcb_any_obj_t *obj) +PCB_INLINE pcb_subc_t *pcb_obj_parent_subc(pcb_any_obj_t *obj) { switch(obj->type) { case PCB_OBJ_VIA: