C API: Fix coding style