@elextr just want to mention that usually no one use such prototypes, usually parameters names present in prototypes;

In C++ it's common to leave a parameter name out even in the function definition, as @elextr to avoid "unused parameter" warnings (e.g. when overriding a method, or writing a callback function or some other things with a forced signature).

In C it's a little less common to see prototypes without parameter names, but it isn't rare either, some people use this style in all headers.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.