rpc_control on FreeBSD is a public-ish API (not prefixed with __), not private

like NetBSD

Submitted by: pho
This commit is contained in:
Enji Cooper 2014-11-03 23:37:51 +00:00
parent f001698bc1
commit 3fe8969a74
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=274067

View 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