Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2015 07:31:40 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288097 - head/lib/libc/gen
Message-ID:  <201509220731.t8M7VeGP002121@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509220731.t8M7VeGP002121>