diff options
author | Alfred Perlstein <alfred@FreeBSD.org> | 2001-03-22 20:43:13 +0000 |
---|---|---|
committer | Alfred Perlstein <alfred@FreeBSD.org> | 2001-03-22 20:43:13 +0000 |
commit | 392df6bce77c044b8fdeb3c47730b73db67d964d (patch) | |
tree | 6b8733b660be098171c52dee06ff5ea8f1eb34ec /lib/libc/rpc/svc_vc.c | |
parent | 922ed949230147f0e2f05b05dc6658a70af0c228 (diff) | |
download | src-392df6bce77c044b8fdeb3c47730b73db67d964d.tar.gz src-392df6bce77c044b8fdeb3c47730b73db67d964d.zip |
Remove struct cmessage from sys/socket.h and reintroduce the private
definitions.
Requested by: wollman
Notes
Notes:
svn path=/head/; revision=74660
Diffstat (limited to 'lib/libc/rpc/svc_vc.c')
-rw-r--r-- | lib/libc/rpc/svc_vc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/rpc/svc_vc.c b/lib/libc/rpc/svc_vc.c index 0e84d6fdb4c5..e867bf1501d7 100644 --- a/lib/libc/rpc/svc_vc.c +++ b/lib/libc/rpc/svc_vc.c @@ -68,8 +68,10 @@ static char *sccsid = "@(#)svc_tcp.c 2.2 88/08/01 4.0 RPCSRC"; #include "rpc_com.h" #include "un-namespace.h" -#define SOCKCREDSIZE(ngrps) \ - (sizeof(struct cmsgcred) + (sizeof(gid_t) * ((ngrps) - 1))) +struct cmessage { + struct cmsghdr cmsg; + struct cmsgcred cmcred; +}; static SVCXPRT *makefd_xprt __P((int, u_int, u_int)); static bool_t rendezvous_request __P((SVCXPRT *, struct rpc_msg *)); |