diff options
author | 2015-09-11 11:33:03 +0000 | |
---|---|---|
committer | 2015-09-11 11:33:03 +0000 | |
commit | d23779c31008e0d68c60b49f1d223c646ec40f41 (patch) | |
tree | 4f674981399562f8f9afd42741df963447ac87b2 /lib/libc | |
parent | Provide tls_peer_cert_hash() which returns a hash of the raw certificate (diff) | |
download | wireguard-openbsd-d23779c31008e0d68c60b49f1d223c646ec40f41.tar.xz wireguard-openbsd-d23779c31008e0d68c60b49f1d223c646ec40f41.zip |
rpcdata should not be exported; ok guenther
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/Symbols.list | 1 | ||||
-rw-r--r-- | lib/libc/rpc/getrpcent.c | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/Symbols.list b/lib/libc/Symbols.list index 0e4e1a5b8ad..b408a1b9bdf 100644 --- a/lib/libc/Symbols.list +++ b/lib/libc/Symbols.list @@ -1228,7 +1228,6 @@ pmap_set pmap_unset registerrpc rpc_createerr -rpcdata set_rpc_maxgrouplist setrpcent svc_fdset diff --git a/lib/libc/rpc/getrpcent.c b/lib/libc/rpc/getrpcent.c index b0f3e4c317d..41e1b82095d 100644 --- a/lib/libc/rpc/getrpcent.c +++ b/lib/libc/rpc/getrpcent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getrpcent.c,v 1.19 2015/08/20 21:49:29 deraadt Exp $ */ +/* $OpenBSD: getrpcent.c,v 1.20 2015/09/11 11:33:03 deraadt Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -41,7 +41,7 @@ /* * Internet version. */ -struct rpcdata { +static struct rpcdata { FILE *rpcf; int stayopen; #define MAXALIASES 35 |