Review Board 1.7.16


Replace nested functions with file scope functions

Review Request #33 - Created Nov. 5, 2008 and submitted

Sean Bright
Reviewers
asterisk-dev
Asterisk
This is a patch to promote the current nested functions in asterisk trunk to file level functions based on security concerns.  For more details, see:

  http://gcc.gnu.org/ml/gcc-help/2005-12/msg00174.html

Also, I added a note to one of the calls in main/features.c which I marked with an XXX comment.
This passes the 'make' test with dev-mode enabled, but I have not functionally tested extensively.
Review request changed
Updated (Nov. 7, 2008, 11:07 a.m.)
Updated chan_sip ao2_callback to pass forcenamematch with the new ao2_callback_fn data pointer.
Ship it!
Posted (Nov. 9, 2008, 3:29 a.m.)
Looks good, nice job!

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.