svn commit: r188055 - head/sys/kern

Warner Losh imp at FreeBSD.org
Mon Feb 2 23:50:07 PST 2009


Author: imp
Date: Tue Feb  3 07:50:01 2009
New Revision: 188055
URL: http://svn.freebsd.org/changeset/base/188055

Log:
  int foo(void) is the proper ANSI function definition when there's no
  parameters.  Use it for resettodr().

Modified:
  head/sys/kern/subr_rtc.c

Modified: head/sys/kern/subr_rtc.c
==============================================================================
--- head/sys/kern/subr_rtc.c	Tue Feb  3 07:07:13 2009	(r188054)
+++ head/sys/kern/subr_rtc.c	Tue Feb  3 07:50:01 2009	(r188055)
@@ -154,7 +154,7 @@ inittodr(time_t base)
  * Write system time back to RTC
  */
 void
-resettodr()
+resettodr(void)
 {
 	struct timespec ts;
 	int error;


More information about the svn-src-all mailing list