diff options
| author | Theo Buehler <tb@openbsd.org> | 2024-10-15 15:10:46 +0200 |
|---|---|---|
| committer | Theo Buehler <tb@openbsd.org> | 2024-10-15 15:10:46 +0200 |
| commit | 0082b6f819b194574f4bde1f4301dc3708a759f0 (patch) | |
| tree | 495628a7870372421c67425953b8773c7ba37cf2 | |
| parent | 574fc3dcff0193f27ee3a9f9520cd15daec4da2a (diff) | |
| parent | 16c2e3cd60aaf8e639ada5912e5329e2d51df792 (diff) | |
| download | portable-0082b6f819b194574f4bde1f4301dc3708a759f0.tar.gz portable-0082b6f819b194574f4bde1f4301dc3708a759f0.tar.bz2 portable-0082b6f819b194574f4bde1f4301dc3708a759f0.zip | |
Land #1112 - fix gettimeofday prototype mismatch
| -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 |
