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
a85700a912
commit
f1e1637581
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288147
@ -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