Fix some more REF_DEBUG-related build errors
authorKinsey Moore <kmoore@digium.com>
Tue, 12 Feb 2013 20:18:21 +0000 (20:18 +0000)
committerKinsey Moore <kmoore@digium.com>
Tue, 12 Feb 2013 20:18:21 +0000 (20:18 +0000)
commit81fa307af708dc8017dba85a6ec1d93adcae3b5b
tree20f3d97d76dcd81186567d60392e82c0e3b60da4
parent27867e65d038e244d7dee68cc94eba47286506d5
Fix some more REF_DEBUG-related build errors

When sip_ref_peer and sip_unref_peer were exported to be usable in
channels/sip/security_events.c, modifications to those functions when
building under REF_DEBUG were not taken into account. This change
moves the necessary defines into sip.h to make them accessible to
other parts of chan_sip that need them.
........

Merged revisions 381282 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@381285 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/sip.h
channels/sip/security_events.c