svn commit: r288147 - head/lib/libc/isc
Craig Rodrigues
rodrigc at FreeBSD.org
Wed Sep 23 16:16:17 UTC 2015
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 at 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;
More information about the svn-src-all
mailing list