diff options
author | Theo Buehler <tb@openbsd.org> | 2024-10-15 14:19:52 +0200 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-10-15 14:19:52 +0200 |
commit | 16c2e3cd60aaf8e639ada5912e5329e2d51df792 (patch) | |
tree | 495628a7870372421c67425953b8773c7ba37cf2 /crypto | |
parent | 574fc3dcff0193f27ee3a9f9520cd15daec4da2a (diff) | |
download | portable-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.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 |