Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3]: src/lib/libc/net Pull up revision 1.35 (requested by kleink i...



details:   https://anonhg.NetBSD.org/src/rev/1a5524e51f49
branches:  netbsd-3
changeset: 574967:1a5524e51f49
user:      tron <tron%NetBSD.org@localhost>
date:      Mon Mar 21 23:07:08 2005 +0000

description:
Pull up revision 1.35 (requested by kleink in ticket #40):
Add restrict qualifiers to getaddrinfo() and getnameinfo() arguments.

diffstat:

 lib/libc/net/getnameinfo.3 |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r cefdd36882b8 -r 1a5524e51f49 lib/libc/net/getnameinfo.3
--- a/lib/libc/net/getnameinfo.3        Mon Mar 21 23:04:08 2005 +0000
+++ b/lib/libc/net/getnameinfo.3        Mon Mar 21 23:07:08 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: getnameinfo.3,v 1.34 2005/01/12 14:44:11 wiz Exp $
+.\"    $NetBSD: getnameinfo.3,v 1.34.2.1 2005/03/21 23:07:08 tron Exp $
 .\"    $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
 .\"    $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $
 .\"
@@ -28,8 +28,9 @@
 .In sys/socket.h
 .In netdb.h
 .Ft int
-.Fn getnameinfo "const struct sockaddr *sa" "socklen_t salen" "char *host" \
-    "size_t hostlen" "char *serv" "size_t servlen" "int flags"
+.Fn getnameinfo "const struct sockaddr * restrict sa" "socklen_t salen" \
+    "char * restrict host" "size_t hostlen" "char * restrict serv" \
+    "size_t servlen" "int flags"
 .Sh DESCRIPTION
 The
 .Fn getnameinfo



Home | Main Index | Thread Index | Old Index