summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/xdr_array.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/xdr_array.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/xdr_array.c')
-rw-r--r--lib/libc/rpc/xdr_array.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/xdr_array.c b/lib/libc/rpc/xdr_array.c
index f24847e07d8..7eee6c8ad93 100644
--- a/lib/libc/rpc/xdr_array.c
+++ b/lib/libc/rpc/xdr_array.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xdr_array.c,v 1.11 2015/09/01 19:54:01 deraadt Exp $ */
+/* $OpenBSD: xdr_array.c,v 1.12 2015/09/13 15:36:56 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -112,6 +112,7 @@ xdr_array(XDR *xdrs,
}
return (stat);
}
+DEF_WEAK(xdr_array);
/*
* xdr_vector():