summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/authunix_prot.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/authunix_prot.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/authunix_prot.c')
-rw-r--r--lib/libc/rpc/authunix_prot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/authunix_prot.c b/lib/libc/rpc/authunix_prot.c
index 913167211ff..c04c3dfcec1 100644
--- a/lib/libc/rpc/authunix_prot.c
+++ b/lib/libc/rpc/authunix_prot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authunix_prot.c,v 1.7 2010/09/01 14:43:34 millert Exp $ */
+/* $OpenBSD: authunix_prot.c,v 1.8 2015/09/13 15:36:56 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -58,4 +58,5 @@ xdr_authunix_parms(XDR *xdrs, struct authunix_parms *p)
}
return (FALSE);
}
+DEF_WEAK(xdr_authunix_parms);