fix function definitions

This commit is contained in:
Tess Gauthier 2024-08-21 16:58:49 -04:00
parent b240ddf209
commit dcdd707699
3 changed files with 6 additions and 2 deletions

View File

@ -104,6 +104,7 @@
<ClCompile Include="$(OpenSSH-Src-Path)openbsd-compat\strcasestr.c" />
<ClCompile Include="$(OpenSSH-Src-Path)openbsd-compat\strndup.c" />
<ClCompile Include="..\..\..\openbsd-compat\bsd-pselect.c" />
<ClCompile Include="..\..\..\openbsd-compat\bsd-timegm.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(OpenSSH-Src-Path)openbsd-compat\base64.h" />

View File

@ -219,6 +219,9 @@
<ClCompile Include="..\..\..\openbsd-compat\bsd-pselect.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\openbsd-compat\bsd-timegm.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="$(OpenSSH-Src-Path)openbsd-compat\base64.h">

View File

@ -191,7 +191,7 @@ nanosleep(const struct timespec *req, struct timespec *rem)
* Copyright (c) 2009, 2010 NoMachine
* All rights reserved
*/
static int
int
gettimeofday(struct timeval *tv, void *tz)
{
union {
@ -213,7 +213,7 @@ gettimeofday(struct timeval *tv, void *tz)
return 0;
}
static void
void
explicit_bzero(void *b, size_t len)
{
SecureZeroMemory(b, len);