svn commit: r274067 - head/contrib/netbsd-tests/lib/libc/rpc
Garrett Cooper
ngie at FreeBSD.org
Mon Nov 3 23:37:52 UTC 2014
Author: ngie
Date: Mon Nov 3 23:37:51 2014
New Revision: 274067
URL: https://svnweb.freebsd.org/changeset/base/274067
Log:
rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private
like NetBSD
Submitted by: pho
Modified:
head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
Modified: head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Mon Nov 3 23:36:41 2014 (r274066)
+++ head/contrib/netbsd-tests/lib/libc/rpc/t_rpc.c Mon Nov 3 23:37:51 2014 (r274067)
@@ -47,6 +47,10 @@ reply(caddr_t replyp, struct netbuf * ra
return 0;
}
+#ifdef __FreeBSD__
+#define __rpc_control rpc_control
+#endif
+
extern bool __rpc_control(int, void *);
static void
More information about the svn-src-head
mailing list