int foo(void) is the proper ANSI function definition when there's no
parameters. Use it for resettodr().
This commit is contained in:
parent
da3ee90988
commit
9483543dfc
@ -154,7 +154,7 @@ inittodr(time_t base)
|
||||
* Write system time back to RTC
|
||||
*/
|
||||
void
|
||||
resettodr()
|
||||
resettodr(void)
|
||||
{
|
||||
struct timespec ts;
|
||||
int error;
|
||||
|
Loading…
Reference in New Issue
Block a user