You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: prefer int main(void) to int main() in C examples (#11526)
Functions without any parameter are a pre-ANSI C construct, that is
deprecated until C23 and compilers may warn about it. Since C23,
main(void) and main() are equivalent (as in C++), but as the standard
is quite recent it's better to a-void this old style prototype.
Signed-off-by: Antonin Décimo <[email protected]>
0 commit comments