Description
In C, functions taking no parameters (void) should be marked as such:
INT FunctionFoo(void) // Instead of: INT FunctionFoo() |
{ ... return 0; } |
and similar for their prototypes in .h files. This is because the empty parentheses in prototypes mean "any number of parameters" instead.
Attachments
Issue Links
- is blocked by
-
CORE-11799 Support MSVC compatible Clang (clang-cl)
- Untriaged