aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2014-01-08 22:37:18 +0000
committerPeter Wemm <peter@FreeBSD.org>2014-01-08 22:37:18 +0000
commitbcea84bd86d77fb584f656e64f12b7673ce73730 (patch)
tree6ecfcde976054840f803557f264d25433d2b1614 /sys/rpc
parent1dc8f6a82cea1c7d90984ab50f1dc738cf5c5cda (diff)
downloadsrc-bcea84bd86d77fb584f656e64f12b7673ce73730.tar.gz
src-bcea84bd86d77fb584f656e64f12b7673ce73730.zip
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.
Notes
Notes: svn path=/head/; revision=260459
Diffstat (limited to 'sys/rpc')
-rw-r--r--sys/rpc/svc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index de460144f32d..a7f5f5126933 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.