From 9492324abba6df221b85188a430de8470c88e34f Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Tue, 15 Mar 2005 23:32:06 +0000 Subject: - correct include file (from david leonard, pr 4147) - r_number is type int, not long - lessen display indent to avoid line split ok deraadt@ millert@ --- lib/libc/rpc/getrpcent.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc/rpc') diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3 index 8b815d21325..56e16eed864 100644 --- a/lib/libc/rpc/getrpcent.3 +++ b/lib/libc/rpc/getrpcent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getrpcent.3,v 1.9 2003/05/30 22:12:43 jmc Exp $ +.\" $OpenBSD: getrpcent.3,v 1.10 2005/03/15 23:32:05 jmc Exp $ .\" .\" Sun RPC is a product of Sun Microsystems, Inc. and is provided for .\" unrestricted use provided that this legend is included on all tape @@ -38,7 +38,7 @@ .Nm setrpcent .Nd get RPC entry .Sh SYNOPSIS -.Fd #include +.Fd #include .Ft struct rpcent * .Fn getrpcent void .Ft struct rpcent * @@ -59,11 +59,11 @@ following structure containing the broken-out fields of a line in the rpc program number database, .Pa /etc/rpc : -.Bd -literal -offset indent +.Bd -literal -offset 2n struct rpcent { char *r_name; /* name of server for this rpc program */ char **r_aliases; /* alias list */ - long r_number; /* rpc program number */ + int r_number; /* rpc program number */ }; .Ed .Pp -- cgit v1.2.3