use a portable way: append 'static' designator everywhere 'inline' is added