[asterisk-commits] seanbright: branch group/asterisk-cpp r168530 - /team/group/asterisk-cpp/main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 12 17:55:40 CST 2009


Author: seanbright
Date: Mon Jan 12 17:55:39 2009
New Revision: 168530

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=168530
Log:
Make channel.c compile (the wrong way, russell is working on the right way) and fix a bug I introduced in adsistub.c.

Modified:
    team/group/asterisk-cpp/main/adsistub.c
    team/group/asterisk-cpp/main/channel.c

Modified: team/group/asterisk-cpp/main/adsistub.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/adsistub.c?view=diff&rev=168530&r1=168529&r2=168530
==============================================================================
--- team/group/asterisk-cpp/main/adsistub.c (original)
+++ team/group/asterisk-cpp/main/adsistub.c Mon Jan 12 17:55:39 2009
@@ -69,7 +69,7 @@
 build_stub(ast_adsi_clear_screen, unsigned char *buf)
 build_stub(ast_adsi_voice_mode, unsigned char *buf, int when)
 build_stub(ast_adsi_available, struct ast_channel *chan)
-build_stub(ast_adsi_display, unsigned char *buf, int page, int line, int just, int wrap, char *col1, char *col2)
+build_stub(ast_adsi_display, unsigned char *buf, int page, int line, int just, int wrap, char *col1, const char *col2)
 build_stub(ast_adsi_set_line, unsigned char *buf, int page, int line)
 build_stub(ast_adsi_load_soft_key, unsigned char *buf, int key, const char *llabel, const char *slabel, char *ret, int data)
 build_stub(ast_adsi_set_keys, unsigned char *buf, unsigned char *keys)

Modified: team/group/asterisk-cpp/main/channel.c
URL: http://svn.digium.com/svn-view/asterisk/team/group/asterisk-cpp/main/channel.c?view=diff&rev=168530&r1=168529&r2=168530
==============================================================================
--- team/group/asterisk-cpp/main/channel.c (original)
+++ team/group/asterisk-cpp/main/channel.c Mon Jan 12 17:55:39 2009
@@ -755,8 +755,15 @@
 }
 
 static const struct ast_channel_tech null_tech = {
-    .type = "NULL",
-    .description = "Null channel (should not see this)"
+	"NULL",
+	"Null channel (should not see this)",
+	NULL, NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	NULL, NULL, NULL, NULL,
+	NULL
 };
 
 /*! \brief Create a new channel structure */




More information about the asterisk-commits mailing list