This is another patch from my tool colobot-lint.
This adds a new check misc-old-style-function, which checks for instances of functions written in legacy C style.
As before, I hope I did everything according to LLVM style, including testcases and documentation.
If time allows, I will post another patch to extend this check with FixIt hints to localize variable declarations.