C style cleanup.
Merge pull request #120 from bukzor/c_style_cleanup

C style cleanup.