fix wrong prototype of freeaddrinfo_t

closes #557
master
rofl0r 2024-03-14 20:11:55 +00:00
parent 282ac7dd02
commit fffd2532ad
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ typedef int (*close_t)(int);
typedef int (*close_range_t)(unsigned, unsigned, int);
typedef int (*connect_t)(int, const struct sockaddr *, socklen_t);
typedef struct hostent* (*gethostbyname_t)(const char *);
typedef int (*freeaddrinfo_t)(struct addrinfo *);
typedef void (*freeaddrinfo_t)(struct addrinfo *);
typedef struct hostent *(*gethostbyaddr_t) (const void *, socklen_t, int);
typedef int (*getaddrinfo_t)(const char *, const char *, const struct addrinfo *,