man-pages/man-pages-3.24-getnameinfo.patch
2010-03-19 12:47:56 +00:00

18 lines
857 B
Diff

diff -up man-pages-3.24/man3/getnameinfo.3.pom man-pages-3.24/man3/getnameinfo.3
--- man-pages-3.24/man3/getnameinfo.3.pom 2010-02-26 05:46:44.000000000 +0100
+++ man-pages-3.24/man3/getnameinfo.3 2010-03-19 13:38:37.000000000 +0100
@@ -12,9 +12,10 @@ getnameinfo \- address-to-name translati
.B #include <sys/socket.h>
.B #include <netdb.h>
.sp
-.BI "int getnameinfo(const struct sockaddr *" "sa" ", socklen_t " "salen" ,
-.BI " char *" "host" ", size_t " "hostlen" ,
-.BI " char *" "serv" ", size_t " "servlen" ", int " "flags" );
+.BI "int getnameinfo(const struct sockaddr *restrict " "sa" ",
+.BI " socklen_t " "salen" ", char *restrict " "host",
+.BI " socklen_t " "hostlen" ", char *restrict " "serv" ",
+.BI " socklen_t " "servlen" ", int " "flags" );
.fi
.sp
.in -4n