patch-tirpc_rpc_pmap_rmt_h 635 B

1234567891011121314151617181920212223242526
  1. --- libtirpc-0.2.3.orig/tirpc/rpc/pmap_rmt.h 2013-02-13 16:13:59.000000000 +0100
  2. +++ libtirpc-0.2.3/tirpc/rpc/pmap_rmt.h 2014-03-22 13:20:52.000000000 +0100
  3. @@ -41,7 +41,6 @@
  4. #ifndef _RPC_PMAP_RMT_H
  5. #define _RPC_PMAP_RMT_H
  6. -#include <sys/cdefs.h>
  7. struct rmtcallargs {
  8. u_long prog, vers, proc, arglen;
  9. @@ -56,9 +55,13 @@ struct rmtcallres {
  10. xdrproc_t xdr_results;
  11. };
  12. -__BEGIN_DECLS
  13. +#ifdef __cplusplus
  14. +extern "C" {
  15. +#endif
  16. extern bool_t xdr_rmtcall_args(XDR *, struct rmtcallargs *);
  17. extern bool_t xdr_rmtcallres(XDR *, struct rmtcallres *);
  18. -__END_DECLS
  19. +#ifdef __cplusplus
  20. +}
  21. +#endif
  22. #endif /* !_RPC_PMAP_RMT_H */