diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-08-16 12:17:52 +0000 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-08-16 12:17:52 +0000 |
commit | 071c4bfa974d30e8a67ed4e1ffb27993c4c4797f (patch) | |
tree | 78e12a11ea1ec23425669373c00ab9e1df9b7ce2 /src/microhttpd | |
parent | 47ee94c511129ba7f5e0f8c6cf79486f37009efa (diff) | |
download | libmicrohttpd-071c4bfa974d30e8a67ed4e1ffb27993c4c4797f.tar.gz libmicrohttpd-071c4bfa974d30e8a67ed4e1ffb27993c4c4797f.zip |
mhd_mono_clock.c: fixed compiler warning
Diffstat (limited to 'src/microhttpd')
-rw-r--r-- | src/microhttpd/mhd_mono_clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/microhttpd/mhd_mono_clock.c b/src/microhttpd/mhd_mono_clock.c index 54a3e9ad..669fe4b6 100644 --- a/src/microhttpd/mhd_mono_clock.c +++ b/src/microhttpd/mhd_mono_clock.c | |||
@@ -76,7 +76,9 @@ static clockid_t mono_clock_id = _MHD_UNWANTED_CLOCK; | |||
76 | #endif /* HAVE_CLOCK_GETTIME */ | 76 | #endif /* HAVE_CLOCK_GETTIME */ |
77 | 77 | ||
78 | /* sync clocks; reduce chance of value wrap */ | 78 | /* sync clocks; reduce chance of value wrap */ |
79 | #if defined(HAVE_CLOCK_GETTIME) || defined(HAVE_CLOCK_GET_TIME) || defined(HAVE_GETHRTIME) | ||
79 | static time_t mono_clock_start; | 80 | static time_t mono_clock_start; |
81 | #endif /* HAVE_CLOCK_GETTIME || HAVE_CLOCK_GET_TIME || HAVE_GETHRTIME */ | ||
80 | static time_t sys_clock_start; | 82 | static time_t sys_clock_start; |
81 | #ifdef HAVE_GETHRTIME | 83 | #ifdef HAVE_GETHRTIME |
82 | static hrtime_t hrtime_start; | 84 | static hrtime_t hrtime_start; |