]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private
authorngie <ngie@FreeBSD.org>
Mon, 3 Nov 2014 23:37:51 +0000 (23:37 +0000)
committerngie <ngie@FreeBSD.org>
Mon, 3 Nov 2014 23:37:51 +0000 (23:37 +0000)
like NetBSD

Submitted by: pho

contrib/netbsd-tests/lib/libc/rpc/t_rpc.c

index cc1ec09fb216134501a65117e807e8f313fae9bf..67bc8c7a602e3f661efe9b49579f4e779ef34865 100644 (file)
@@ -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