diff options
author | peter <peter@FreeBSD.org> | 2014-01-08 22:37:18 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2014-01-08 22:37:18 +0000 |
commit | 3244f6064b0b506d4480b81e64dea620363457e4 (patch) | |
tree | 6ecfcde976054840f803557f264d25433d2b1614 /sys/rpc | |
parent | db2be6a7935bbbcc9f166d7b77bae083a04ecf1c (diff) | |
download | FreeBSD-src-3244f6064b0b506d4480b81e64dea620363457e4.zip FreeBSD-src-3244f6064b0b506d4480b81e64dea620363457e4.tar.gz |
Don't expose svc_loss_reg / _unreg to userland as they're kernel-only
additions from r260229 and the SVCPOOL type doesn't exist in userland.
Diffstat (limited to 'sys/rpc')
-rw-r--r-- | sys/rpc/svc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h index de46014..a7f5f51 100644 --- a/sys/rpc/svc.h +++ b/sys/rpc/svc.h @@ -516,6 +516,7 @@ extern void svc_unreg(const rpcprog_t, const rpcvers_t); #endif __END_DECLS +#ifdef _KERNEL /* * Service connection loss registration * @@ -539,6 +540,7 @@ __END_DECLS __BEGIN_DECLS extern void svc_loss_unreg(SVCPOOL *, void (*)(SVCXPRT *)); __END_DECLS +#endif /* * Transport registration. |