[libpri-commits] rmudgett: branch rmudgett/libpri_30 r1626 - /team/rmudgett/libpri_30/

SVN commits to the libpri project libpri-commits at lists.digium.com
Mon Apr 19 17:16:50 CDT 2010


Author: rmudgett
Date: Mon Apr 19 17:16:48 2010
New Revision: 1626

URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1626
Log:
Change a few variable declarations to use struct q931_call instead of typedefed q931_call.

Modified:
    team/rmudgett/libpri_30/pri_q931.h
    team/rmudgett/libpri_30/q931.c

Modified: team/rmudgett/libpri_30/pri_q931.h
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/libpri_30/pri_q931.h?view=diff&rev=1626&r1=1625&r2=1626
==============================================================================
--- team/rmudgett/libpri_30/pri_q931.h (original)
+++ team/rmudgett/libpri_30/pri_q931.h Mon Apr 19 17:16:48 2010
@@ -491,8 +491,8 @@
 
 extern int q931_call_setcrv(struct pri *pri, q931_call *call, int crv, int callmode);
 
-q931_call *q931_find_call(struct pri *ctrl, int cr);
-q931_call *q931_new_call(struct pri *pri);
+struct q931_call *q931_find_call(struct pri *ctrl, int cr);
+struct q931_call *q931_new_call(struct pri *pri);
 
 extern int q931_setup(struct pri *pri, q931_call *c, struct pri_sr *req);
 

Modified: team/rmudgett/libpri_30/q931.c
URL: http://svnview.digium.com/svn/libpri/team/rmudgett/libpri_30/q931.c?view=diff&rev=1626&r1=1625&r2=1626
==============================================================================
--- team/rmudgett/libpri_30/q931.c (original)
+++ team/rmudgett/libpri_30/q931.c Mon Apr 19 17:16:48 2010
@@ -3691,7 +3691,7 @@
  * \retval call if found.
  * \retval NULL if not found.
  */
-q931_call *q931_find_call(struct pri *ctrl, int cr)
+struct q931_call *q931_find_call(struct pri *ctrl, int cr)
 {
 	struct q931_call *cur;
 	struct pri *master;
@@ -3741,7 +3741,7 @@
 	return cur;
 }
 
-static q931_call *q931_getcall(struct pri *ctrl, int cr)
+static struct q931_call *q931_getcall(struct pri *ctrl, int cr)
 {
 	struct q931_call *cur;
 
@@ -3754,7 +3754,7 @@
 	return q931_create_call_record(ctrl, cr);
 }
 
-q931_call *q931_new_call(struct pri *ctrl)
+struct q931_call *q931_new_call(struct pri *ctrl)
 {
 	struct q931_call *cur;
 	struct pri *master;
@@ -6172,7 +6172,7 @@
 int q931_receive(struct pri *ctrl, int tei, q931_h *h, int len)
 {
 	q931_mh *mh;
-	q931_call *c;
+	struct q931_call *c;
 	q931_ie *ie;
 	unsigned int x;
 	int y;




More information about the libpri-commits mailing list