summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpcb_clnt.h
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2012-09-02 22:23:23 +0000
committerpfg <pfg@FreeBSD.org>2012-09-02 22:23:23 +0000
commitfb077b00b0a2455b2108feeb4f173ea2706f697c (patch)
treebfbbe261693a70827db52029f30608eb237280cd /include/rpc/rpcb_clnt.h
parent97adc861835d3d63fcfabaf559955e91c3bdd543 (diff)
downloadFreeBSD-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/rpcb_clnt.h')
-rw-r--r--include/rpc/rpcb_clnt.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/rpc/rpcb_clnt.h b/include/rpc/rpcb_clnt.h
index 0cfa21f..fa64a85 100644
--- a/include/rpc/rpcb_clnt.h
+++ b/include/rpc/rpcb_clnt.h
@@ -61,10 +61,6 @@
#include <rpc/types.h>
#include <rpc/rpcb_prot.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
-
__BEGIN_DECLS
extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t,
const struct netconfig *, const struct netbuf *);
@@ -86,8 +82,4 @@ extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
__END_DECLS
-#ifdef __cplusplus
-}
-#endif
-
#endif /* !_RPC_RPCB_CLNT_H */
OpenPOWER on IntegriCloud