SDM120C
SDM120C copied to clipboard
function declaration isn’t a prototype [-Wstrict-prototypes]
When compiled with -Wstrict-prototypes (that will be the default of the newer versions of compilers) we have:
sdm120c.c:214:7: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
214 | char* getCurTime()
| ^~~~~~~~~~
sdm120c.c:234:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
234 | void getCmdLine()
| ^~~~~~~~~~
Compiled at commit: f36fb38c2f8985e2330ed2492178211d63542361