[zaptel-commits] sruffell: branch 1.2 r4127 - /branches/1.2/xpp/card_fxo.c

SVN commits to the Zaptel project zaptel-commits at lists.digium.com
Thu Apr 3 15:31:36 CDT 2008


Author: sruffell
Date: Thu Apr  3 15:31:36 2008
New Revision: 4127

URL: http://svn.digium.com/view/zaptel?view=rev&rev=4127
Log:
Moving a macro to quiet a compiler warning.


Modified:
    branches/1.2/xpp/card_fxo.c

Modified: branches/1.2/xpp/card_fxo.c
URL: http://svn.digium.com/view/zaptel/branches/1.2/xpp/card_fxo.c?view=diff&rev=4127&r1=4126&r2=4127
==============================================================================
--- branches/1.2/xpp/card_fxo.c (original)
+++ branches/1.2/xpp/card_fxo.c Thu Apr  3 15:31:36 2008
@@ -555,6 +555,11 @@
 	return ret;
 }
 
+#ifndef ZT_GET_PARAMS_V1
+#define zt_alarm_channel(a,b) zt_qevent_lock(a,( (b)==ZT_ALARM_NONE )? \
+	ZT_EVENT_NOALARM : ZT_EVENT_ALARM)
+#endif
+
 static void zap_report_battery(xpd_t *xpd, lineno_t chan)
 {
 	struct FXO_priv_data	*priv;
@@ -816,10 +821,6 @@
 	return 0;
 }
 
-#ifndef ZT_GET_PARAMS_V1
-#define zt_alarm_channel(a,b) zt_qevent_lock(a,( (b)==ZT_ALARM_NONE )? \
-	ZT_EVENT_NOALARM : ZT_EVENT_ALARM)
-#endif
 static void update_battery_voltage(xpd_t *xpd, byte data_low, lineno_t chipsel)
 {
 	struct FXO_priv_data	*priv;




More information about the zaptel-commits mailing list