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

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;