1
0

patch-tirpc_rpc_rpcb_clnt_h 795 B

1234567891011121314151617181920212223
  1. --- libtirpc-0.2.3.orig/tirpc/rpc/rpcb_clnt.h 2013-02-13 16:13:59.000000000 +0100
  2. +++ libtirpc-0.2.3/tirpc/rpc/rpcb_clnt.h 2014-03-22 13:20:52.000000000 +0100
  3. @@ -59,7 +59,9 @@
  4. #include <rpc/types.h>
  5. #include <rpc/rpcb_prot.h>
  6. -__BEGIN_DECLS
  7. +#ifdef __cplusplus
  8. +extern "C" {
  9. +#endif
  10. extern bool_t rpcb_set(const rpcprog_t, const rpcvers_t,
  11. const struct netconfig *, const struct netbuf *);
  12. extern bool_t rpcb_unset(const rpcprog_t, const rpcvers_t,
  13. @@ -78,6 +80,8 @@ extern bool_t rpcb_getaddr(const rpcprog
  14. extern bool_t rpcb_gettime(const char *, time_t *);
  15. extern char *rpcb_taddr2uaddr(struct netconfig *, struct netbuf *);
  16. extern struct netbuf *rpcb_uaddr2taddr(struct netconfig *, char *);
  17. -__END_DECLS
  18. +#ifdef __cplusplus
  19. +}
  20. +#endif
  21. #endif /* !_RPC_RPCB_CLNT_H */