diff options
author | pfg <pfg@FreeBSD.org> | 2012-09-02 22:23:23 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2012-09-02 22:23:23 +0000 |
commit | fb077b00b0a2455b2108feeb4f173ea2706f697c (patch) | |
tree | bfbbe261693a70827db52029f30608eb237280cd /include/rpc/svc.h | |
parent | 97adc861835d3d63fcfabaf559955e91c3bdd543 (diff) | |
download | FreeBSD-src-fb077b00b0a2455b2108feeb4f173ea2706f697c.zip FreeBSD-src-fb077b00b0a2455b2108feeb4f173ea2706f697c.tar.gz |
Revert r240060: (Partial)
__BEGIN_DECLS and __END_DECLS in cdefs.h take care of the
__cplusplus mangling issues so most of the definitions
were redundant.
In the few places where they were not redundant we should
use BSD style instead of the guards used upstream.
Reported by: Yuri Pankov
Diffstat (limited to 'include/rpc/svc.h')
-rw-r--r-- | include/rpc/svc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 7625f6d..4a3833c 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -65,10 +65,6 @@ * parameters, struct svc_req * and SVCXPRT *, defined below. */ -#ifdef __cplusplus -extern "C" { -#endif - /* * Service control requests */ @@ -471,9 +467,6 @@ int __rpc_get_local_uid(SVCXPRT *_transp, uid_t *_uid); __END_DECLS -#ifdef __cplusplus -} -#endif /* for backward compatibility */ #include <rpc/svc_soc.h> |