Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2015 16:16:17 +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: r288147 - head/lib/libc/isc
Message-ID:  <201509231616.t8NGGHtx015932@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Wed Sep 23 16:16:16 2015
New Revision: 288147
URL: https://svnweb.freebsd.org/changeset/base/288147

Log:
  Use ANSI C prototypes.  Eliminates -Wold-style-definition warnings.
  
  Submitted by:   Sascha Wildner <swildner@dragonflybsd.org>
  Obtained from:  DragonFlyBSD (commit 5d7d35b17f98588c39b30036f1a3fe8802935c2c)

Modified:
  head/lib/libc/isc/ev_timers.c

Modified: head/lib/libc/isc/ev_timers.c
==============================================================================
--- head/lib/libc/isc/ev_timers.c	Wed Sep 23 15:49:27 2015	(r288146)
+++ head/lib/libc/isc/ev_timers.c	Wed Sep 23 16:16:16 2015	(r288147)
@@ -117,7 +117,7 @@ evCmpTime(struct timespec a, struct time
 }
 
 struct timespec
-evNowTime() {
+evNowTime(void) {
 	struct timeval now;
 #ifdef CLOCK_REALTIME
 	struct timespec tsnow;
@@ -136,7 +136,7 @@ evNowTime() {
 }
 
 struct timespec
-evUTCTime() {
+evUTCTime(void) {
 	struct timeval now;
 #ifdef CLOCK_REALTIME
 	struct timespec tsnow;



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