Use ANSI C prototypes. Eliminates -Wold-style-definition warnings.
Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit 5d7d35b17f98588c39b30036f1a3fe8802935c2c)
This commit is contained in:
parent
6711ffe0ce
commit
57dcec656d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user