mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 09:13:00 +00:00
Fix various inet_ntop definitions
This commit is contained in:
parent
4453711b5a
commit
79f2289a9d
3 changed files with 3 additions and 3 deletions
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__
|
#ifdef __REACTOS__
|
||||||
PCSTR
|
PCSTR
|
||||||
WSAAPI
|
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;
|
struct in_addr in;
|
||||||
char *text_addr;
|
char *text_addr;
|
||||||
|
|
|
@ -54,7 +54,7 @@ static const char *inet_ntop6(const u_char *src, char *dst, size_t size);
|
||||||
|
|
||||||
PCSTR
|
PCSTR
|
||||||
WSAAPI
|
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) {
|
switch (Family) {
|
||||||
|
|
|
@ -53,7 +53,7 @@ PCSTR
|
||||||
WSAAPI
|
WSAAPI
|
||||||
inet_ntop(
|
inet_ntop(
|
||||||
_In_ INT af,
|
_In_ INT af,
|
||||||
_In_ PVOID src,
|
_In_ const VOID *src,
|
||||||
_Out_writes_(StringBufSize) PSTR dst,
|
_Out_writes_(StringBufSize) PSTR dst,
|
||||||
_In_ size_t size)
|
_In_ size_t size)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue