diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-11 11:33:04 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-09-11 11:33:04 +0000 |
commit | 1ea0243c4c85bf02e910643905cda268b9be7d55 (patch) | |
tree | 5eaae438e3948e3a35645b9e74a1a4cdd8886b76 /lib/libc | |
parent | 46ae9609303d89bfaba730e7aa1d151ac2528ca4 (diff) |
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 |