patch-include_rpcsecgss_rpc_svc_auth_h 816 B

12345678910111213141516171819202122232425262728
  1. --- librpcsecgss-0.19.orig/include/rpcsecgss/rpc/svc_auth.h 2009-07-29 18:24:50.000000000 +0200
  2. +++ librpcsecgss-0.19/include/rpcsecgss/rpc/svc_auth.h 2014-05-19 15:34:43.714268869 +0200
  3. @@ -71,7 +71,7 @@ typedef struct svc_authentication_data {
  4. /*
  5. * Approved way of getting principal of caller
  6. */
  7. -char *svcauth_gss_get_principal __P((SVCAUTH *auth));
  8. +char *svcauth_gss_get_principal (SVCAUTH *auth);
  9. /*
  10. * Approved way of setting server principal
  11. @@ -83,10 +83,14 @@ svcauth_gss_set_svc_name(char *principal
  12. /*
  13. * Server side authenticator
  14. */
  15. -__BEGIN_DECLS
  16. +#ifdef __cplusplus
  17. +extern "C" {
  18. +#endif
  19. extern enum auth_stat _authenticate(struct svc_req *__rqst,
  20. struct rpc_msg *__msg,
  21. bool_t *no_dispatch);
  22. -__END_DECLS
  23. +#ifdef __cplusplus
  24. +}
  25. +#endif
  26. #endif /* !_RPC_SVCAUTH_H */