Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/rpc fix include file. bindresvport() is declared i...



details:   https://anonhg.NetBSD.org/src/rev/10b26c27ac18
branches:  trunk
changeset: 481330:10b26c27ac18
user:      itojun <itojun%NetBSD.org@localhost>
date:      Wed Jan 26 07:06:03 2000 +0000

description:
fix include file.  bindresvport() is declared in rpc/rpc.h, not netinet/in.h.

diffstat:

 lib/libc/rpc/bindresvport.3 |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 6e080bbe156a -r 10b26c27ac18 lib/libc/rpc/bindresvport.3
--- a/lib/libc/rpc/bindresvport.3       Wed Jan 26 07:01:53 2000 +0000
+++ b/lib/libc/rpc/bindresvport.3       Wed Jan 26 07:06:03 2000 +0000
@@ -1,5 +1,5 @@
 .\"    @(#)bindresvport.3n     2.2 88/08/02 4.0 RPCSRC; from 1.7 88/03/14 SMI
-.\"    $NetBSD: bindresvport.3,v 1.5 1998/02/05 18:49:05 perry Exp $
+.\"    $NetBSD: bindresvport.3,v 1.6 2000/01/26 07:06:03 itojun Exp $
 .\"
 .Dd November 22, 1987
 .Dt BINDRESVPORT 3
@@ -11,7 +11,7 @@
 .Lb libc
 .Sh SYNOPSIS
 .Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
+.Fd #include <rpc/rpc.h>
 .Ft int
 .Fn bindresvport "int sd" "struct sockaddr_in *sin"
 .Sh DESCRIPTION



Home | Main Index | Thread Index | Old Index