[svn-commits] tzafrir: branch linux/tzafrir/ext-build r6164 - in /linux/team/tzafrir/ext-bu...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sun Mar 15 18:10:56 CDT 2009


Author: tzafrir
Date: Sun Mar 15 18:10:53 2009
New Revision: 6164

URL: http://svn.digium.com/svn-view/dahdi?view=rev&rev=6164
Log:
Make ecdis.h used by dahdi-base.h alone

ecdis.h is no longer #include-d in kernel.h . it was there because of
decleration of some structs that are part of struct dahdi_chan. The
declerations of those structs were moved into kernel.h directly.

Modified:
    linux/team/tzafrir/ext-build/drivers/dahdi/biquad.h
    linux/team/tzafrir/ext-build/drivers/dahdi/dahdi-base.c
    linux/team/tzafrir/ext-build/drivers/dahdi/ecdis.h
    linux/team/tzafrir/ext-build/include/dahdi/kernel.h

Modified: linux/team/tzafrir/ext-build/drivers/dahdi/biquad.h
URL: http://svn.digium.com/svn-view/dahdi/linux/team/tzafrir/ext-build/drivers/dahdi/biquad.h?view=diff&rev=6164&r1=6163&r2=6164
==============================================================================
--- linux/team/tzafrir/ext-build/drivers/dahdi/biquad.h (original)
+++ linux/team/tzafrir/ext-build/drivers/dahdi/biquad.h Sun Mar 15 18:10:53 2009
@@ -24,18 +24,6 @@
  * Free Software Foundation. See the LICENSE file included with
  * this program for more details.
  */
-
-typedef struct
-{
-    int32_t gain;
-    int32_t a1;
-    int32_t a2;
-    int32_t b1;
-    int32_t b2;
-
-    int32_t z1;
-    int32_t z2;
-} biquad2_state_t;
 
 static inline void biquad2_init (biquad2_state_t *bq,
                 	 	 int32_t gain,

Modified: linux/team/tzafrir/ext-build/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/svn-view/dahdi/linux/team/tzafrir/ext-build/drivers/dahdi/dahdi-base.c?view=diff&rev=6164&r1=6163&r2=6164
==============================================================================
--- linux/team/tzafrir/ext-build/drivers/dahdi/dahdi-base.c (original)
+++ linux/team/tzafrir/ext-build/drivers/dahdi/dahdi-base.c Sun Mar 15 18:10:53 2009
@@ -82,6 +82,7 @@
 /* Grab fasthdlc with tables */
 #define FAST_HDLC_NEED_TABLES
 #include <dahdi/kernel.h>
+#include "ecdis.h"
 
 #include "hpec/hpec_user.h"
 

Modified: linux/team/tzafrir/ext-build/drivers/dahdi/ecdis.h
URL: http://svn.digium.com/svn-view/dahdi/linux/team/tzafrir/ext-build/drivers/dahdi/ecdis.h?view=diff&rev=6164&r1=6163&r2=6164
==============================================================================
--- linux/team/tzafrir/ext-build/drivers/dahdi/ecdis.h (original)
+++ linux/team/tzafrir/ext-build/drivers/dahdi/ecdis.h Sun Mar 15 18:10:53 2009
@@ -27,18 +27,6 @@
  */
 
 #include "biquad.h"
-
-typedef struct
-{
-    biquad2_state_t notch;
-    int notch_level;
-    int channel_level;
-    int tone_present;
-    int tone_cycle_duration;
-    int good_cycles;
-    int hit;
-} echo_can_disable_detector_state_t;
-
 
 #define FALSE 0
 #define TRUE (!FALSE)

Modified: linux/team/tzafrir/ext-build/include/dahdi/kernel.h
URL: http://svn.digium.com/svn-view/dahdi/linux/team/tzafrir/ext-build/include/dahdi/kernel.h?view=diff&rev=6164&r1=6163&r2=6164
==============================================================================
--- linux/team/tzafrir/ext-build/include/dahdi/kernel.h (original)
+++ linux/team/tzafrir/ext-build/include/dahdi/kernel.h Sun Mar 15 18:10:53 2009
@@ -96,7 +96,28 @@
 
 #define RING_DEBOUNCE_TIME	2000	/*!< 2000 ms ring debounce time */
 
-#include "ecdis.h"
+typedef struct
+{
+    int32_t gain;
+    int32_t a1;
+    int32_t a2;
+    int32_t b1;
+    int32_t b2;
+
+    int32_t z1;
+    int32_t z2;
+} biquad2_state_t;
+
+typedef struct
+{
+    biquad2_state_t notch;
+    int notch_level;
+    int channel_level;
+    int tone_present;
+    int tone_cycle_duration;
+    int good_cycles;
+    int hit;
+} echo_can_disable_detector_state_t;
 
 struct sf_detect_state {
 	long	x1;




More information about the svn-commits mailing list