Fixed an error of wrongly renaming struct declarations passed as parameter.