summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-11-03 23:37:51 +0000
committerngie <ngie@FreeBSD.org>2014-11-03 23:37:51 +0000
commitdf2dc74ed1ab64739a5d752d87c2db42f10f96d6 (patch)
tree41872bb5d683185674b4f29bb47c55e78d4fd5b0 /contrib/netbsd-tests/lib/libc
parentc14e768c4909397483ced02c0ebd9af2a910b5ff (diff)
downloadFreeBSD-src-df2dc74ed1ab64739a5d752d87c2db42f10f96d6.zip
FreeBSD-src-df2dc74ed1ab64739a5d752d87c2db42f10f96d6.tar.gz
rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private
like NetBSD Submitted by: pho
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
-rw-r--r--contrib/netbsd-tests/lib/libc/rpc/t_rpc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
index cc1ec09..67bc8c7 100644
--- a/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
+++ b/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
@@ -47,6 +47,10 @@ reply(caddr_t replyp, struct netbuf * raddrp, struct netconfig * nconf)
return 0;
}
+#ifdef __FreeBSD__
+#define __rpc_control rpc_control
+#endif
+
extern bool __rpc_control(int, void *);
static void
OpenPOWER on IntegriCloud