[Asterisk-code-review] Now ast gcc attribute.m4 correctly detect the weakref. (asterisk[11])

ibercom asteriskteam at digium.com
Wed Jun 3 13:39:32 CDT 2015


ibercom has uploaded a new change for review.

  https://gerrit.asterisk.org/579

Change subject: Now ast_gcc_attribute.m4 correctly detect the weakref.
......................................................................

Now ast_gcc_attribute.m4 correctly detect the weakref.

Change-Id: Iaf7d1bcae52bd8c14f81a50f6fdbab672657f4cb
---
M autoconf/ast_gcc_attribute.m4
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/79/579/1

diff --git a/autoconf/ast_gcc_attribute.m4 b/autoconf/ast_gcc_attribute.m4
index bceaa28..4ade814 100644
--- a/autoconf/ast_gcc_attribute.m4
+++ b/autoconf/ast_gcc_attribute.m4
@@ -20,7 +20,7 @@
 )
 else
 AC_COMPILE_IFELSE(
-	[AC_LANG_PROGRAM([$3 void __attribute__(($2)) *test(void *muffin, ...) {return (void *) 0;}],
+	[AC_LANG_PROGRAM([$3 void __attribute__(($2)) *test(void *muffin, ...) ;],
 			[])],
 	AC_MSG_RESULT(yes)
 	m4_ifval([$4],$4=1)

-- 
To view, visit https://gerrit.asterisk.org/579
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf7d1bcae52bd8c14f81a50f6fdbab672657f4cb
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 11
Gerrit-Owner: ibercom <ibercom123 at gmail.com>



More information about the asterisk-code-review mailing list