summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/rpc_callmsg.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2015-09-13 15:36:56 +0000
committerguenther <guenther@openbsd.org>2015-09-13 15:36:56 +0000
commit85858ec2de0a5bfea0d5f098a39cf144ad74f89a (patch)
tree642ce8eae01884bf58cc31dd547155778b95a772 /lib/libc/rpc/rpc_callmsg.c
parentWrap <pwd.h> so that calls go direct and the symbols are all weak. (diff)
downloadwireguard-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/rpc_callmsg.c')
-rw-r--r--lib/libc/rpc/rpc_callmsg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/rpc_callmsg.c b/lib/libc/rpc/rpc_callmsg.c
index a6b47bb8003..5825a0ebfd5 100644
--- a/lib/libc/rpc/rpc_callmsg.c
+++ b/lib/libc/rpc/rpc_callmsg.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_callmsg.c,v 1.11 2015/01/16 16:48:51 deraadt Exp $ */
+/* $OpenBSD: rpc_callmsg.c,v 1.12 2015/09/13 15:36:56 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -183,4 +183,4 @@ xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg)
return (xdr_opaque_auth(xdrs, &(cmsg->rm_call.cb_verf)));
return (FALSE);
}
-
+DEF_WEAK(xdr_callmsg);