int foo(void) is the proper ANSI function definition when there's no

parameters.  Use it for resettodr().
This commit is contained in:
Warner Losh 2009-02-03 07:50:01 +00:00
parent da3ee90988
commit 9483543dfc

View File

@ -154,7 +154,7 @@ inittodr(time_t base)
* Write system time back to RTC
*/
void
resettodr()
resettodr(void)
{
struct timespec ts;
int error;