Closed cxong closed 8 years ago
Proper C functions with no parameters should be of the form void foo(void); this also works for C++.
void foo(void)
Without it, GCC will warn about strict prototypes.
See http://stackoverflow.com/q/51032/2038264
:+1:
Proper C functions with no parameters should be of the form
void foo(void)
; this also works for C++.Without it, GCC will warn about strict prototypes.
See http://stackoverflow.com/q/51032/2038264