examples: use astyle to adopt current code style guide