remove settings for C and C++
they take no effect anyway
try to detect function declarations
works only in case when a declaration does not span multiple lines