From 69046e28fcdf42ecbbe777f080fff9656e242ed4 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Sep 2014 04:55:06 -0400 Subject: replace __attribute_malloc__ with the more portable __attribute__((__malloc__)) Signed-off-by: Natanael Copa Signed-off-by: Steve Dickson --- support/nfs/svc_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/nfs/svc_create.c') 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) { -- cgit