diff options
author | 2015-09-13 15:36:56 +0000 | |
---|---|---|
committer | 2015-09-13 15:36:56 +0000 | |
commit | 85858ec2de0a5bfea0d5f098a39cf144ad74f89a (patch) | |
tree | 642ce8eae01884bf58cc31dd547155778b95a772 /lib/libc/rpc/xdr_reference.c | |
parent | Wrap <pwd.h> so that calls go direct and the symbols are all weak. (diff) | |
download | wireguard-openbsd-85858ec2de0a5bfea0d5f098a39cf144ad74f89a.tar.xz wireguard-openbsd-85858ec2de0a5bfea0d5f098a39cf144ad74f89a.zip |
Wrap <rpc/*.h> so that calls go direct and the symbols are all weak.
Hide __xprt_register() and _authenticate(); truncate <rpc/svc_auth.h>
ok deraadt@
Diffstat (limited to 'lib/libc/rpc/xdr_reference.c')
-rw-r--r-- | lib/libc/rpc/xdr_reference.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/rpc/xdr_reference.c b/lib/libc/rpc/xdr_reference.c index a5f7594bbc9..2e604281647 100644 --- a/lib/libc/rpc/xdr_reference.c +++ b/lib/libc/rpc/xdr_reference.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xdr_reference.c,v 1.10 2015/09/01 19:54:01 deraadt Exp $ */ +/* $OpenBSD: xdr_reference.c,v 1.11 2015/09/13 15:36:56 guenther Exp $ */ /* * Copyright (c) 2010, Oracle America, Inc. @@ -82,6 +82,7 @@ xdr_reference(XDR *xdrs, } return (stat); } +DEF_WEAK(xdr_reference); /* @@ -119,3 +120,4 @@ xdr_pointer(XDR *xdrs, char **objpp, u_int obj_size, xdrproc_t xdr_obj) } return (xdr_reference(xdrs,objpp,obj_size,xdr_obj)); } +DEF_WEAK(xdr_pointer); |