aboutsummaryrefslogtreecommitdiff
path: root/include/compat
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-05-25 21:59:09 +0200
committerTheo Buehler <tb@openbsd.org>2024-05-25 21:59:09 +0200
commit8f03828942b063f3d7693fdaf3eb11ae77714d50 (patch)
tree8a509c26988fe5629d21d006fd063e97e38d001e /include/compat
parent03d54d8c9dde74c4994d31467394912246af58be (diff)
parent7f39dda15a1232ae253680c07a17a0845c365ef1 (diff)
downloadportable-8f03828942b063f3d7693fdaf3eb11ae77714d50.tar.gz
portable-8f03828942b063f3d7693fdaf3eb11ae77714d50.tar.bz2
portable-8f03828942b063f3d7693fdaf3eb11ae77714d50.zip
Land #1056 - remove timegm compat
Diffstat (limited to 'include/compat')
-rw-r--r--include/compat/time.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/compat/time.h b/include/compat/time.h
index 2748521..a0f6d29 100644
--- a/include/compat/time.h
+++ b/include/compat/time.h
@@ -24,15 +24,6 @@
24#ifndef LIBCRYPTOCOMPAT_TIME_H 24#ifndef LIBCRYPTOCOMPAT_TIME_H
25#define LIBCRYPTOCOMPAT_TIME_H 25#define LIBCRYPTOCOMPAT_TIME_H
26 26
27#ifdef _WIN32
28struct tm *__gmtime_r(const time_t * t, struct tm * tm);
29#define gmtime_r(tp, tm) __gmtime_r(tp, tm)
30#endif
31
32#ifndef HAVE_TIMEGM
33time_t timegm(struct tm *tm);
34#endif
35
36#ifndef CLOCK_MONOTONIC 27#ifndef CLOCK_MONOTONIC
37#define CLOCK_MONOTONIC CLOCK_REALTIME 28#define CLOCK_MONOTONIC CLOCK_REALTIME
38#endif 29#endif