[asterisk-dev] confuse with this syntax: int gsm_decode P3((s, c, target), gsm s, gsm_byte * c, gsm_signal * target)

Tilghman Lesher tlesher at digium.com
Thu Sep 16 00:10:41 CDT 2010


On Wednesday 15 September 2010 21:19:30 John Wu wrote:
> I guess this should be the old version C syntax.
> Why use such syntax?
> why not just write as: int gsm_decode (gsm s, gsm_byte * c, gsm_signal *
> target)

Because the code was imported from another project and we want it to be easy
to import future updates from that project.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list