Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 22:37:18 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260459 - head/sys/rpc
Message-ID:  <201401082237.s08MbIgN000703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401082237.s08MbIgN000703>