[asterisk-commits] rmudgett: trunk r237804 - /trunk/channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 5 12:57:34 CST 2010


Author: rmudgett
Date: Tue Jan  5 12:57:29 2010
New Revision: 237804

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237804
Log:
Removed unused parameters from analog_available() and sig_pri_available().

Modified:
    trunk/channels/chan_dahdi.c
    trunk/channels/sig_analog.c
    trunk/channels/sig_analog.h
    trunk/channels/sig_pri.c
    trunk/channels/sig_pri.h

Modified: trunk/channels/chan_dahdi.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=237804&r1=237803&r2=237804
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Tue Jan  5 12:57:29 2010
@@ -11817,12 +11817,12 @@
 		return 0;
 
 	if (analog_lib_handles(p->sig, p->radio, p->oprmode))
-		return analog_available(p->sig_pvt, channelmatch, groupmatch, reason, channelmatched, groupmatched);
+		return analog_available(p->sig_pvt, reason);
 
 #ifdef HAVE_PRI
 	switch (p->sig) {
 	case SIG_PRI_LIB_HANDLE_CASES:
-		return sig_pri_available(p->sig_pvt, channelmatch, groupmatch, reason, channelmatched, groupmatched);
+		return sig_pri_available(p->sig_pvt, reason);
 	default:
 		break;
 	}

Modified: trunk/channels/sig_analog.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_analog.c?view=diff&rev=237804&r1=237803&r2=237804
==============================================================================
--- trunk/channels/sig_analog.c (original)
+++ trunk/channels/sig_analog.c Tue Jan  5 12:57:29 2010
@@ -649,7 +649,7 @@
 	return analog_new_ast_channel(p, AST_STATE_RESERVED, 0, p->owner ? ANALOG_SUB_CALLWAIT : ANALOG_SUB_REAL, requestor);
 }
 
-int analog_available(struct analog_pvt *p, int channelmatch, ast_group_t groupmatch, int *busy, int *channelmatched, int *groupmatched)
+int analog_available(struct analog_pvt *p, int *busy)
 {
 	int offhook;
 

Modified: trunk/channels/sig_analog.h
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_analog.h?view=diff&rev=237804&r1=237803&r2=237804
==============================================================================
--- trunk/channels/sig_analog.h (original)
+++ trunk/channels/sig_analog.h Tue Jan  5 12:57:29 2010
@@ -336,7 +336,7 @@
 
 struct ast_channel * analog_request(struct analog_pvt *p, int *callwait, const struct ast_channel *requestor);
 
-int analog_available(struct analog_pvt *p, int channelmatch, ast_group_t groupmatch, int *busy, int *channelmatched, int *groupmatched);
+int analog_available(struct analog_pvt *p, int *busy);
 
 void *analog_handle_init_event(struct analog_pvt *i, int event);
 

Modified: trunk/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_pri.c?view=diff&rev=237804&r1=237803&r2=237804
==============================================================================
--- trunk/channels/sig_pri.c (original)
+++ trunk/channels/sig_pri.c Tue Jan  5 12:57:29 2010
@@ -3862,7 +3862,7 @@
 	return res;
 }
 
-int sig_pri_available(struct sig_pri_chan *p, int channelmatch, ast_group_t groupmatch, int *reason, int *channelmatched, int *groupmatched)
+int sig_pri_available(struct sig_pri_chan *p, int *reason)
 {
 	/* If no owner and interface has a B channel then likely available */
 	if (!p->owner && !p->no_b_channel && p->pri) {

Modified: trunk/channels/sig_pri.h
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sig_pri.h?view=diff&rev=237804&r1=237803&r2=237804
==============================================================================
--- trunk/channels/sig_pri.h (original)
+++ trunk/channels/sig_pri.h Tue Jan  5 12:57:29 2010
@@ -257,7 +257,7 @@
 
 int sig_pri_answer(struct sig_pri_chan *p, struct ast_channel *ast);
 
-int sig_pri_available(struct sig_pri_chan *p, int channelmatch, ast_group_t groupmatch, int *busy, int *channelmatched, int *groupmatched);
+int sig_pri_available(struct sig_pri_chan *p, int *reason);
 
 void sig_pri_init_pri(struct sig_pri_pri *pri);
 




More information about the asterisk-commits mailing list