]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
authorrodrigc <rodrigc@FreeBSD.org>
Wed, 23 Sep 2015 16:16:16 +0000 (16:16 +0000)
committerrodrigc <rodrigc@FreeBSD.org>
Wed, 23 Sep 2015 16:16:16 +0000 (16:16 +0000)
Submitted by:   Sascha Wildner <swildner@dragonflybsd.org>
Obtained from:  DragonFlyBSD (commit 5d7d35b17f98588c39b30036f1a3fe8802935c2c)

lib/libc/isc/ev_timers.c

index 7c25c670ee6428c77e3587849c8664d598c4542e..6d08e370fd2a8e5c5451eec74575c25aaff3a99e 100644 (file)
@@ -117,7 +117,7 @@ evCmpTime(struct timespec a, struct timespec b) {
 }
 
 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;