1
0

patch-tirpc_rpc_auth_unix_h 677 B

1234567891011121314151617181920212223242526
  1. --- libtirpc-0.2.3.orig/tirpc/rpc/auth_unix.h 2013-02-13 16:13:59.000000000 +0100
  2. +++ libtirpc-0.2.3/tirpc/rpc/auth_unix.h 2014-03-22 13:20:52.000000000 +0100
  3. @@ -45,7 +45,6 @@
  4. #ifndef _TIRPC_AUTH_UNIX_H
  5. #define _TIRPC_AUTH_UNIX_H
  6. -#include <sys/cdefs.h>
  7. /* The machine name is part of a credential; it may not exceed 255 bytes */
  8. #define MAX_MACHINE_NAME 255
  9. @@ -67,9 +66,13 @@ struct authunix_parms {
  10. #define authsys_parms authunix_parms
  11. -__BEGIN_DECLS
  12. +#ifdef __cplusplus
  13. +extern "C" {
  14. +#endif
  15. extern bool_t xdr_authunix_parms(XDR *, struct authunix_parms *);
  16. -__END_DECLS
  17. +#ifdef __cplusplus
  18. +}
  19. +#endif
  20. /*
  21. * If a response verifier has flavor AUTH_SHORT,