aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorTheo Buehler <tb@openbsd.org>2024-10-15 14:19:52 +0200
committerTheo Buehler <tb@openbsd.org>2024-10-15 14:19:52 +0200
commit16c2e3cd60aaf8e639ada5912e5329e2d51df792 (patch)
tree495628a7870372421c67425953b8773c7ba37cf2 /crypto
parent574fc3dcff0193f27ee3a9f9520cd15daec4da2a (diff)
downloadportable-16c2e3cd60aaf8e639ada5912e5329e2d51df792.tar.gz
portable-16c2e3cd60aaf8e639ada5912e5329e2d51df792.tar.bz2
portable-16c2e3cd60aaf8e639ada5912e5329e2d51df792.zip
Make gettimeofday() definition match the prototype
Should fix #1111
Diffstat (limited to 'crypto')
-rw-r--r--crypto/compat/posix_win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/compat/posix_win.c b/crypto/compat/posix_win.c
index bed8c84..1fbfce1 100644
--- a/crypto/compat/posix_win.c
+++ b/crypto/compat/posix_win.c
@@ -291,7 +291,7 @@ uid_t getuid(void)
291 291
292#ifdef _MSC_VER 292#ifdef _MSC_VER
293struct timezone; 293struct timezone;
294int gettimeofday(struct timeval * tp, struct timezone * tzp) 294int gettimeofday(struct timeval *tp, void *tzp)
295{ 295{
296 /* 296 /*
297 * Note: some broken versions only have 8 trailing zero's, the correct 297 * Note: some broken versions only have 8 trailing zero's, the correct