Make sure that the C API does not emit compiler warnings when built with -Werror=declaration-after-statement.