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.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to