Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/net mke allocaddrinfo static.



details:   https://anonhg.NetBSD.org/src/rev/98373868e089
branches:  trunk
changeset: 340518:98373868e089
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Sep 10 11:33:27 2015 +0000

description:
mke allocaddrinfo static.

diffstat:

 lib/libc/net/getaddrinfo.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 502525cff147 -r 98373868e089 lib/libc/net/getaddrinfo.c
--- a/lib/libc/net/getaddrinfo.c        Thu Sep 10 09:30:01 2015 +0000
+++ b/lib/libc/net/getaddrinfo.c        Thu Sep 10 11:33:27 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getaddrinfo.c,v 1.107 2015/09/09 10:06:05 ozaki-r Exp $        */
+/*     $NetBSD: getaddrinfo.c,v 1.108 2015/09/10 11:33:27 christos Exp $       */
 /*     $KAME: getaddrinfo.c,v 1.29 2000/08/31 17:26:57 itojun Exp $    */
 
 /*
@@ -55,7 +55,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: getaddrinfo.c,v 1.107 2015/09/09 10:06:05 ozaki-r Exp $");
+__RCSID("$NetBSD: getaddrinfo.c,v 1.108 2015/09/10 11:33:27 christos Exp $");
 #endif /* LIBC_SCCS and not lint */
 
 #ifndef RUMP_ACTION
@@ -935,7 +935,7 @@
        return 0;
 }
 
-struct addrinfo *
+static struct addrinfo *
 allocaddrinfo(socklen_t addrlen)
 {
        struct addrinfo *ai;



Home | Main Index | Thread Index | Old Index