patch-support_include_exportfs_h 913 B

1234567891011121314151617181920212223
  1. --- nfs-utils-1.3.0.orig/support/include/exportfs.h 2014-03-25 16:12:07.000000000 +0100
  2. +++ nfs-utils-1.3.0/support/include/exportfs.h 2014-05-17 21:47:07.085632108 +0200
  3. @@ -156,15 +156,15 @@ int secinfo_addflavor(struct flav_inf
  4. char * host_ntop(const struct sockaddr *sap,
  5. char *buf, const size_t buflen);
  6. -__attribute_malloc__
  7. +__attribute__((__malloc__))
  8. struct addrinfo * host_pton(const char *paddr);
  9. -__attribute_malloc__
  10. +__attribute__((__malloc__))
  11. struct addrinfo * host_addrinfo(const char *hostname);
  12. -__attribute_malloc__
  13. +__attribute__((__malloc__))
  14. char * host_canonname(const struct sockaddr *sap);
  15. -__attribute_malloc__
  16. +__attribute__((__malloc__))
  17. struct addrinfo * host_reliable_addrinfo(const struct sockaddr *sap);
  18. -__attribute_malloc__
  19. +__attribute__((__malloc__))
  20. struct addrinfo * host_numeric_addrinfo(const struct sockaddr *sap);
  21. int rmtab_read(void);