summaryrefslogtreecommitdiffstats
path: root/lib/libc/isc
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2015-09-23 16:16:16 +0000
committerrodrigc <rodrigc@FreeBSD.org>2015-09-23 16:16:16 +0000
commit57dcec656d425b48e9a6c25f6582ffb3645679a0 (patch)
treef089f72e03723b3f56e800ac9c33930d7e3459d1 /lib/libc/isc
parent6711ffe0ce4bdc1a3d402d1ae426fc71be1f7b83 (diff)
downloadFreeBSD-src-57dcec656d425b48e9a6c25f6582ffb3645679a0.zip
FreeBSD-src-57dcec656d425b48e9a6c25f6582ffb3645679a0.tar.gz
Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit 5d7d35b17f98588c39b30036f1a3fe8802935c2c)
Diffstat (limited to 'lib/libc/isc')
-rw-r--r--lib/libc/isc/ev_timers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/isc/ev_timers.c b/lib/libc/isc/ev_timers.c
index 7c25c67..6d08e37 100644
--- a/lib/libc/isc/ev_timers.c
+++ b/lib/libc/isc/ev_timers.c
@@ -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;
OpenPOWER on IntegriCloud