[svn-commits] mmichelson: branch mmichelson/udptl-v6 r278576 - in /team/mmichelson/udptl-v6...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 21 15:47:39 CDT 2010


Author: mmichelson
Date: Wed Jul 21 15:47:35 2010
New Revision: 278576

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=278576
Log:
Get rid of some stuff that's not being used and just served to confuse me.


Modified:
    team/mmichelson/udptl-v6/include/asterisk/udptl.h
    team/mmichelson/udptl-v6/main/udptl.c

Modified: team/mmichelson/udptl-v6/include/asterisk/udptl.h
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/udptl-v6/include/asterisk/udptl.h?view=diff&rev=278576&r1=278575&r2=278576
==============================================================================
--- team/mmichelson/udptl-v6/include/asterisk/udptl.h (original)
+++ team/mmichelson/udptl-v6/include/asterisk/udptl.h Wed Jul 21 15:47:35 2010
@@ -56,8 +56,6 @@
 struct ast_udptl;
 
 typedef int (*ast_udptl_callback)(struct ast_udptl *udptl, struct ast_frame *f, void *data);
-
-struct ast_udptl *ast_udptl_new(struct sched_context *sched, struct io_context *io, int callbackmode);
 
 struct ast_udptl *ast_udptl_new_with_bindaddr(struct sched_context *sched, struct io_context *io, int callbackmode, struct ast_sockaddr *in);
 

Modified: team/mmichelson/udptl-v6/main/udptl.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/udptl-v6/main/udptl.c?view=diff&rev=278576&r1=278575&r2=278576
==============================================================================
--- team/mmichelson/udptl-v6/main/udptl.c (original)
+++ team/mmichelson/udptl-v6/main/udptl.c Wed Jul 21 15:47:35 2010
@@ -171,8 +171,6 @@
 	int local_max_ifp;
 
 	int verbose;
-
-	struct ast_sockaddr far;
 
 	unsigned int tx_seq_no;
 	unsigned int rx_seq_no;
@@ -992,12 +990,6 @@
 	return udptl;
 }
 
-struct ast_udptl *ast_udptl_new(struct sched_context *sched, struct io_context *io, int callbackmode)
-{
-	struct ast_sockaddr ia = { { 0,}, };
-	return ast_udptl_new_with_bindaddr(sched, io, callbackmode, &ia);
-}
-
 void ast_udptl_set_tag(struct ast_udptl *udptl, const char *format, ...)
 {
 	va_list ap;




More information about the svn-commits mailing list