cosmetics: reindent and reformat function declarations