diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-23 13:45:05 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-23 13:45:05 -0500 |
commit | 6b513a1c78b8a8c4c48b9ef476628728974f3171 (patch) | |
tree | 7da788236665e3f408c65ac05d9278202213ff82 /apps | |
parent | 4b2a8cd1c16896ca5d4570656435aa1b69bcbd46 (diff) | |
download | portable-6b513a1c78b8a8c4c48b9ef476628728974f3171.tar.gz portable-6b513a1c78b8a8c4c48b9ef476628728974f3171.tar.bz2 portable-6b513a1c78b8a8c4c48b9ef476628728974f3171.zip |
add proper guard and typedef
Diffstat (limited to 'apps')
-rw-r--r-- | apps/openssl/compat/clock_gettime_osx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/openssl/compat/clock_gettime_osx.c b/apps/openssl/compat/clock_gettime_osx.c index bb385e4..5545187 100644 --- a/apps/openssl/compat/clock_gettime_osx.c +++ b/apps/openssl/compat/clock_gettime_osx.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #define ORWL_GIGA UINT64_C(1000000000) | 5 | #define ORWL_GIGA UINT64_C(1000000000) |
6 | 6 | ||
7 | int | 7 | int |
8 | clock_gettime(int clock_id, struct timespec *tp) | 8 | clock_gettime(clockid_t clock_id, struct timespec *tp) |
9 | { | 9 | { |
10 | static double orwl_timebase = 0.0; | 10 | static double orwl_timebase = 0.0; |
11 | static uint64_t orwl_timestart = 0; | 11 | static uint64_t orwl_timestart = 0; |