mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Use pa_* instead of generic functions to improve portability
This commit is contained in:
parent
f2a9fd779e
commit
aebf66bef6
4 changed files with 15 additions and 14 deletions
|
|
@ -29,6 +29,7 @@
|
|||
#ifndef HAVE_INET_NTOP
|
||||
|
||||
#include <pulsecore/core-util.h>
|
||||
#include <pulsecore/macro.h>
|
||||
#include <pulsecore/socket.h>
|
||||
|
||||
#include "inet_ntop.h"
|
||||
|
|
@ -39,7 +40,8 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt) {
|
|||
struct in6_addr *in6 = (struct in6_addr*)src;
|
||||
#endif
|
||||
|
||||
assert(src && dst);
|
||||
pa_assert(src);
|
||||
pa_assert(dst);
|
||||
|
||||
switch (af) {
|
||||
case AF_INET:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue