Replace GNU old-style field designator extensions to fix clang warnings

(issue ASTERISK-19540)
Reported by: Makoto Dei
Patches:
	clang-gnu-designator.patch uploaded by Makoto Dei (license 5027)
........
Also add from the patch the portion in res_fax_spandsp that didn't apply to 1.8

Merged revisions 361142 from http://svn.asterisk.org/svn/asterisk/branches/1.8
(closes issue ASTERISK-19540)
........

Merged revisions 361143 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@361155 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2012-04-04 18:08:28 +00:00
parent 97b2fa8de1
commit e96a59acfd
10 changed files with 39 additions and 39 deletions

View File

@@ -14036,12 +14036,12 @@ static int iax2_devicestate(const char *data)
static struct ast_switch iax2_switch =
{
name: "IAX2",
description: "IAX Remote Dialplan Switch",
exists: iax2_exists,
canmatch: iax2_canmatch,
exec: iax2_exec,
matchmore: iax2_matchmore,
.name = "IAX2",
.description = "IAX Remote Dialplan Switch",
.exists = iax2_exists,
.canmatch = iax2_canmatch,
.exec = iax2_exec,
.matchmore = iax2_matchmore,
};
/*