aboutsummaryrefslogtreecommitdiff
path: root/sys/rpc
diff options
context:
space:
mode:
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.