summaryrefslogtreecommitdiffstats
path: root/support/include/exportfs.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-09-12 04:55:06 -0400
committerSteve Dickson <steved@redhat.com>2014-09-15 13:56:57 -0400
commit69046e28fcdf42ecbbe777f080fff9656e242ed4 (patch)
treeb5c516adda0e458b1776ceab4fe8584e399b97e5 /support/include/exportfs.h
parentf1816585555b8505c04375818ccfb797202d1f84 (diff)
downloadnfs-utils-69046e28fcdf42ecbbe777f080fff9656e242ed4.tar.gz
nfs-utils-69046e28fcdf42ecbbe777f080fff9656e242ed4.tar.xz
nfs-utils-69046e28fcdf42ecbbe777f080fff9656e242ed4.zip
replace __attribute_malloc__ with the more portable __attribute__((__malloc__))
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/exportfs.h')
-rw-r--r--support/include/exportfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/support/include/exportfs.h b/support/include/exportfs.h
index 97b2327..9021fae 100644
--- a/support/include/exportfs.h
+++ b/support/include/exportfs.h
@@ -156,15 +156,15 @@ int secinfo_addflavor(struct flav_info *, struct exportent *);
char * host_ntop(const struct sockaddr *sap,
char *buf, const size_t buflen);
-__attribute_malloc__
+__attribute__((__malloc__))
struct addrinfo * host_pton(const char *paddr);
-__attribute_malloc__
+__attribute__((__malloc__))
struct addrinfo * host_addrinfo(const char *hostname);
-__attribute_malloc__
+__attribute__((__malloc__))
char * host_canonname(const struct sockaddr *sap);
-__attribute_malloc__
+__attribute__((__malloc__))
struct addrinfo * host_reliable_addrinfo(const struct sockaddr *sap);
-__attribute_malloc__
+__attribute__((__malloc__))
struct addrinfo * host_numeric_addrinfo(const struct sockaddr *sap);
int rmtab_read(void);