Fixup funcAttributes.
Merge pull request #3506 from AndrejMitrovic/FixupFuncAttrib

Fixup funcAttributes.