Fix various inet_ntop definitions

This commit is contained in:
Baruch Rutman 2024-07-02 00:13:09 +03:00 committed by Hermès BÉLUSCA - MAÏTO
parent 4453711b5a
commit 79f2289a9d
3 changed files with 3 additions and 3 deletions

View File

@ -641,7 +641,7 @@ void freenetbuf(struct netbuf *nbuf)
#ifdef __REACTOS__
PCSTR
WSAAPI
inet_ntop(INT af, PVOID src, PSTR dst, size_t cnt)
inet_ntop(INT af, const VOID *src, PSTR dst, size_t cnt)
{
struct in_addr in;
char *text_addr;

View File

@ -54,7 +54,7 @@ static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
PCSTR
WSAAPI
inet_ntop(INT Family, PVOID pAddr, PSTR pStringBuf, size_t StringBufSize)
inet_ntop(INT Family, const VOID *pAddr, PSTR pStringBuf, size_t StringBufSize)
{
switch (Family) {

View File

@ -53,7 +53,7 @@ PCSTR
WSAAPI
inet_ntop(
_In_ INT af,
_In_ PVOID src,
_In_ const VOID *src,
_Out_writes_(StringBufSize) PSTR dst,
_In_ size_t size)
{