The substance of the change is fine. But it needs to use proper GNU style, and you should put __attribute__ ((unused)) on the inline function definitions. Thanks, Roland