diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2014-09-12 04:55:06 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-09-15 13:56:57 -0400 |
commit | 69046e28fcdf42ecbbe777f080fff9656e242ed4 (patch) | |
tree | b5c516adda0e458b1776ceab4fe8584e399b97e5 /support/nfs/svc_create.c | |
parent | f1816585555b8505c04375818ccfb797202d1f84 (diff) | |
download | nfs-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/nfs/svc_create.c')
-rw-r--r-- | support/nfs/svc_create.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/nfs/svc_create.c b/support/nfs/svc_create.c index 6b9e85b..a706f87 100644 --- a/support/nfs/svc_create.c +++ b/support/nfs/svc_create.c @@ -113,7 +113,7 @@ svc_create_find_xprt(const struct sockaddr *bindaddr, const struct netconfig *nc * * Otherwise NULL is returned if an error occurs. */ -__attribute_malloc__ +__attribute__((__malloc__)) static struct addrinfo * svc_create_bindaddr(struct netconfig *nconf, const uint16_t port) { |