mirror of
https://github.com/reactos/reactos.git
synced 2024-11-23 03:23:34 +08:00
Fix various inet_ntop definitions
This commit is contained in:
parent
4453711b5a
commit
79f2289a9d
2
dll/3rdparty/libtirpc/src/rpc_generic.c
vendored
2
dll/3rdparty/libtirpc/src/rpc_generic.c
vendored
@ -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;
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user