[svn-commits] rmudgett: branch rmudgett/aoc_event r249000 - /team/rmudgett/aoc_event/channels/

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Feb 25 18:17:35 CST 2010


Author: rmudgett
Date: Thu Feb 25 18:17:31 2010
New Revision: 249000

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=249000
Log:
Removed unused parameter.

Removed unused sig_pri_pri parameter from the following functions:
sig_pri_aoc_s_event(), sig_pri_aoc_d_event(), and sig_pri_aoc_e_event().

Modified:
    team/rmudgett/aoc_event/channels/sig_pri.c

Modified: team/rmudgett/aoc_event/channels/sig_pri.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/aoc_event/channels/sig_pri.c?view=diff&rev=249000&r1=248999&r2=249000
==============================================================================
--- team/rmudgett/aoc_event/channels/sig_pri.c (original)
+++ team/rmudgett/aoc_event/channels/sig_pri.c Thu Feb 25 18:17:31 2010
@@ -2288,7 +2288,6 @@
  * \brief Handle the AOC-S event.
  * \since 1.8
  *
- * \param pri sig_pri PRI control structure.
  * \param aoc_s AOC-S event parameters.
  * \param owner Asterisk channel associated with the call.
  *
@@ -2297,7 +2296,7 @@
  *
  * \return Nothing
  */
-static void sig_pri_aoc_s_event(struct sig_pri_pri *pri, const struct pri_subcmd_aoc_s *aoc_s, struct ast_channel *owner)
+static void sig_pri_aoc_s_event(const struct pri_subcmd_aoc_s *aoc_s, struct ast_channel *owner)
 {
 	struct ast_str *msg;
 	const char *rate_str;
@@ -2375,7 +2374,6 @@
  * \brief Handle the AOC-D event.
  * \since 1.8
  *
- * \param pri sig_pri PRI control structure.
  * \param aoc_d AOC-D event parameters.
  * \param owner Asterisk channel associated with the call.
  *
@@ -2384,7 +2382,7 @@
  *
  * \return Nothing
  */
-static void sig_pri_aoc_d_event(struct sig_pri_pri *pri, const struct pri_subcmd_aoc_d *aoc_d, struct ast_channel *owner)
+static void sig_pri_aoc_d_event(const struct pri_subcmd_aoc_d *aoc_d, struct ast_channel *owner)
 {
 	struct ast_str *msg;
 	const char *charge_str;
@@ -2447,7 +2445,6 @@
  * \brief Handle the AOC-E event.
  * \since 1.8
  *
- * \param pri sig_pri PRI control structure.
  * \param aoc_e AOC-E event parameters.
  * \param owner Asterisk channel associated with the call.
  * NULL if the event is not associated with an existing call.
@@ -2457,7 +2454,7 @@
  *
  * \return Nothing
  */
-static void sig_pri_aoc_e_event(struct sig_pri_pri *pri, const struct pri_subcmd_aoc_e *aoc_e, struct ast_channel *owner)
+static void sig_pri_aoc_e_event(const struct pri_subcmd_aoc_e *aoc_e, struct ast_channel *owner)
 {
 	struct ast_channel *chans[1];
 	struct ast_str *msg;
@@ -2754,7 +2751,7 @@
 #endif	/* defined(HAVE_PRI_CCSS) */
 #if defined(HAVE_PRI_AOC_EVENTS)
 		case PRI_SUBCMD_AOC_E:
-			sig_pri_aoc_e_event(pri, &subcmd->u.aoc_e, NULL);
+			sig_pri_aoc_e_event(&subcmd->u.aoc_e, NULL);
 			break;
 #endif	/* defined(HAVE_PRI_AOC_EVENTS) */
 		default:
@@ -2999,7 +2996,7 @@
 			sig_pri_lock_owner(pri, chanpos);
 			owner = pri->pvts[chanpos]->owner;
 			if (owner) {
-				sig_pri_aoc_s_event(pri, &subcmd->u.aoc_s, owner);
+				sig_pri_aoc_s_event(&subcmd->u.aoc_s, owner);
 				ast_channel_unlock(owner);
 			}
 			break;
@@ -3009,7 +3006,7 @@
 			sig_pri_lock_owner(pri, chanpos);
 			owner = pri->pvts[chanpos]->owner;
 			if (owner) {
-				sig_pri_aoc_d_event(pri, &subcmd->u.aoc_d, owner);
+				sig_pri_aoc_d_event(&subcmd->u.aoc_d, owner);
 				ast_channel_unlock(owner);
 			}
 			break;
@@ -3018,7 +3015,7 @@
 		case PRI_SUBCMD_AOC_E:
 			sig_pri_lock_owner(pri, chanpos);
 			owner = pri->pvts[chanpos]->owner;
-			sig_pri_aoc_e_event(pri, &subcmd->u.aoc_e, owner);
+			sig_pri_aoc_e_event(&subcmd->u.aoc_e, owner);
 			if (owner) {
 				ast_channel_unlock(owner);
 			}




More information about the svn-commits mailing list