[asterisk-commits] qwell: branch qwell/fun_with_transports r387510 - in /team/qwell/fun_with_tra...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu May 2 14:47:01 CDT 2013
Author: qwell
Date: Thu May 2 14:46:59 2013
New Revision: 387510
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387510
Log:
Remove the ABI compatability ast_channel_alloc(). It is no longer needed.
........
Merged revisions 387482 from file:///srv/subversion/repos/asterisk/trunk
........
Merged revisions 387489 from http://svn.asterisk.org/svn/asterisk/team/group/pimp_my_sip
Modified:
team/qwell/fun_with_transports/ (props changed)
team/qwell/fun_with_transports/main/channel.c
Propchange: team/qwell/fun_with_transports/
------------------------------------------------------------------------------
--- pimp_my_sip-integrated (original)
+++ pimp_my_sip-integrated Thu May 2 14:46:59 2013
@@ -1,1 +1,1 @@
-/team/group/pimp_my_sip:1-387479
+/team/group/pimp_my_sip:1-387509
Modified: team/qwell/fun_with_transports/main/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/qwell/fun_with_transports/main/channel.c?view=diff&rev=387510&r1=387509&r2=387510
==============================================================================
--- team/qwell/fun_with_transports/main/channel.c (original)
+++ team/qwell/fun_with_transports/main/channel.c Thu May 2 14:46:59 2013
@@ -11253,40 +11253,6 @@
return 0;
}
-/* DO NOT PUT ADDITIONAL FUNCTIONS BELOW THIS BOUNDARY
- *
- * ONLY FUNCTIONS FOR PROVIDING BACKWARDS ABI COMPATIBILITY BELONG HERE
- *
- */
-
-/* Provide binary compatibility for modules that call ast_channel_alloc() directly;
- * newly compiled modules will call __ast_channel_alloc() via the macros in channel.h
- */
-#undef ast_channel_alloc
-struct ast_channel __attribute__((format(printf, 10, 11)))
- *ast_channel_alloc(int needqueue, int state, const char *cid_num,
- const char *cid_name, const char *acctcode,
- const char *exten, const char *context,
- const char *linkedid, const int amaflag,
- const char *name_fmt, ...);
-struct ast_channel *ast_channel_alloc(int needqueue, int state, const char *cid_num,
- const char *cid_name, const char *acctcode,
- const char *exten, const char *context,
- const char *linkedid, const int amaflag,
- const char *name_fmt, ...)
-{
- va_list ap;
- struct ast_channel *result;
-
-
- va_start(ap, name_fmt);
- result = __ast_channel_alloc_ap(needqueue, state, cid_num, cid_name, acctcode, exten, context,
- linkedid, amaflag, __FILE__, __LINE__, __FUNCTION__, name_fmt, ap);
- va_end(ap);
-
- return result;
-}
-
void ast_channel_unlink(struct ast_channel *chan)
{
ao2_unlink(channels, chan);
More information about the asterisk-commits
mailing list