Ah nevermind. You are right. Astyle is failing here because it misinterprets this function as a structure because it returns a structure.