summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/svc_tcp.c
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 15:36:58 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2015-09-13 15:36:58 +0000
commit1e31bb92226e5857f47b149158590a7e92900ae0 (patch)
tree251158dca086b7eb15a3fb7fcee25a083315b83b /lib/libc/rpc/svc_tcp.c
parent154fdff60dfaf55373633176c4b9877a197d71ee (diff)
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/svc_tcp.c')
-rw-r--r--lib/libc/rpc/svc_tcp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/svc_tcp.c b/lib/libc/rpc/svc_tcp.c
index d0ee4b019c1..5cec3834d2c 100644
--- a/lib/libc/rpc/svc_tcp.c
+++ b/lib/libc/rpc/svc_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svc_tcp.c,v 1.35 2015/09/01 19:54:01 deraadt Exp $ */
+/* $OpenBSD: svc_tcp.c,v 1.36 2015/09/13 15:36:56 guenther Exp $ */
/*
* Copyright (c) 2010, Oracle America, Inc.
@@ -181,6 +181,7 @@ svctcp_create(int sock, u_int sendsize, u_int recvsize)
}
return (xprt);
}
+DEF_WEAK(svctcp_create);
/*
* Like svtcp_create(), except the routine takes any *open* UNIX file