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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188055
@ -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