diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-15 14:19:52 +0200 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2024-10-16 03:04:42 -0500 |
commit | 2bd2d711623c0ac9aca55db681724d64e2ca97fb (patch) | |
tree | 1e97846f26365068b26d1b050cf17cbf13800a4b | |
parent | 34e1072349f6752cbad5a7bccfec94e6985d9fb8 (diff) | |
download | portable-OPENBSD_7_6.tar.gz portable-OPENBSD_7_6.tar.bz2 portable-OPENBSD_7_6.zip |
Make gettimeofday() definition match the prototypeOPENBSD_7_6
Should fix #1111
-rw-r--r-- | crypto/compat/posix_win.c | 2 |
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 |
293 | struct timezone; | 293 | struct timezone; |
294 | int gettimeofday(struct timeval * tp, struct timezone * tzp) | 294 | int 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 |