Author: rodrigc
Date: Tue Sep 22 07:31:40 2015
New Revision: 288097
URL: https://svnweb.freebsd.org/changeset/base/288097

Log:
  Use ANSI C prototypes.  Eliminates -Wold-style-definition warnings.

Modified:
  head/lib/libc/gen/clock.c

Modified: head/lib/libc/gen/clock.c
==============================================================================
--- head/lib/libc/gen/clock.c   Tue Sep 22 06:51:55 2015        (r288096)
+++ head/lib/libc/gen/clock.c   Tue Sep 22 07:31:40 2015        (r288097)
@@ -45,7 +45,7 @@ __FBSDID("$FreeBSD$");
                         + (r).tv_usec / (1000000 / CLOCKS_PER_SEC))
 
 clock_t
-clock()
+clock(void)
 {
        struct rusage ru;
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to