Use getaddrinfo() instead of gethostbyname() in socket.c.
[claws.git] / src / common / socket.h
index 59cb2307f5d4ab1cefc9a24df7852280e8638725..fb20233d417899162f16defb4bd5843a5fc73e70 100644 (file)
@@ -94,8 +94,6 @@ gboolean sock_is_nonblocking_mode     (SockInfo *sock);
 guint sock_add_watch                   (SockInfo *sock, GIOCondition condition,
                                         SockFunc func, gpointer data);
 
-struct hostent *my_gethostbyname       (const gchar *hostname);
-
 SockInfo *sock_connect                 (const gchar *hostname, gushort port);
 gint sock_connect_async                        (const gchar *hostname, gushort port,
                                         SockConnectFunc func, gpointer data);