svn commit: r260459 - head/sys/rpc

Peter Wemm peter at FreeBSD.org
Wed Jan 8 22:37:18 UTC 2014


Author: peter
Date: Wed Jan  8 22:37:18 2014
New Revision: 260459
URL: http://svnweb.freebsd.org/changeset/base/260459

Log:
  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.

Modified:
  head/sys/rpc/svc.h

Modified: head/sys/rpc/svc.h
==============================================================================
--- head/sys/rpc/svc.h	Wed Jan  8 22:13:32 2014	(r260458)
+++ head/sys/rpc/svc.h	Wed Jan  8 22:37:18 2014	(r260459)
@@ -516,6 +516,7 @@ extern void	svc_unreg(const rpcprog_t, c
 #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.


More information about the svn-src-head mailing list