From 13f636333bbcb2ffb5175d237e6113352938d8e7 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Mon, 7 Apr 2014 17:57:56 +0000 Subject: Add some missing names to the NAME sections. For inet(3), go the other way, remove some bogus symlinks. Found while testing the new makewhatis(8). ok jmc@ --- src/lib/libc/net/Makefile.inc | 8 ++++---- src/lib/libc/net/getifaddrs.3 | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'src/lib/libc/net') diff --git a/src/lib/libc/net/Makefile.inc b/src/lib/libc/net/Makefile.inc index 580df4444a..f4153bbfb4 100644 --- a/src/lib/libc/net/Makefile.inc +++ b/src/lib/libc/net/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.50 2013/12/17 16:34:05 deraadt Exp $ +# $OpenBSD: Makefile.inc,v 1.51 2014/04/07 17:57:56 schwarze Exp $ # net sources .PATH: ${LIBCSRCDIR}/arch/${MACHINE_CPU}/net ${LIBCSRCDIR}/net @@ -61,10 +61,10 @@ MLINKS+=getservent.3 endservent.3 getservent.3 getservbyname.3 \ getservent.3 endservent_r.3 MLINKS+= if_indextoname.3 if_nametoindex.3 if_indextoname.3 if_nameindex.3 \ if_indextoname.3 if_freenameindex.3 -MLINKS+=inet.3 addr.3 inet.3 inet_addr.3 inet.3 inet_aton.3 \ +MLINKS+=inet.3 inet_addr.3 inet.3 inet_aton.3 \ inet.3 inet_lnaof.3 inet.3 inet_makeaddr.3 inet.3 inet_netof.3 \ - inet.3 inet_network.3 inet.3 inet_ntoa.3 inet.3 network.3 \ - inet.3 ntoa.3 inet.3 inet_ntop.3 inet.3 inet_pton.3 + inet.3 inet_network.3 inet.3 inet_ntoa.3 \ + inet.3 inet_ntop.3 inet.3 inet_pton.3 MLINKS+=inet_net.3 inet_net_ntop.3 inet_net.3 inet_net_pton.3 MLINKS+=link_addr.3 link_ntoa.3 MLINKS+=rcmd.3 iruserok.3 rcmd.3 rresvport.3 rcmd.3 ruserok.3 \ diff --git a/src/lib/libc/net/getifaddrs.3 b/src/lib/libc/net/getifaddrs.3 index c5aab48b20..0b3538302a 100644 --- a/src/lib/libc/net/getifaddrs.3 +++ b/src/lib/libc/net/getifaddrs.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getifaddrs.3,v 1.18 2014/01/21 03:15:45 schwarze Exp $ +.\" $OpenBSD: getifaddrs.3,v 1.19 2014/04/07 17:57:56 schwarze Exp $ .\" BSDI getifaddrs.3,v 2.5 2000/02/23 14:51:59 dab Exp .\" .\" Copyright (c) 1995, 1999 @@ -21,11 +21,12 @@ .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. -.Dd $Mdocdate: January 21 2014 $ +.Dd $Mdocdate: April 7 2014 $ .Dt GETIFADDRS 3 .Os .Sh NAME -.Nm getifaddrs +.Nm getifaddrs , +.Nm freeifaddrs .Nd get interface addresses .Sh SYNOPSIS .In sys/types.h -- cgit v1.2.3-55-g6feb