mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 09:48:00 -04:00
20 lines
566 B
Plaintext
20 lines
566 B
Plaintext
$NetBSD: patch-af,v 1.2 2006/03/02 21:03:39 wiz Exp $
|
|
|
|
--- sockets.h.orig 2004-10-12 14:07:27.000000000 +0200
|
|
+++ sockets.h
|
|
@@ -118,10 +118,10 @@ int CloseSocket(int sock);
|
|
|
|
/* DNS functions */
|
|
|
|
-int DnsIp(char *host,char *ip);
|
|
-int DnsFQDN(char *host,char *fqdn);
|
|
-int DnsName(char *ip,char *fqdn);
|
|
-void GetPeerIp(int sock,char *ip,char *fqdn);
|
|
+int DnsIp(char *host,char *ip,size_t);
|
|
+int DnsFQDN(char *host,char *fqdn,size_t);
|
|
+int DnsName(char *ip,char *fqdn,size_t);
|
|
+void GetPeerIp(int sock,char *ip,size_t,char *fqdn,size_t);
|
|
|
|
/* Special Functions */
|
|
|