[dahdi-commits] fjoe: freebsd/trunk r9243 - /freebsd/trunk/drivers/dahdi/wctdm.c

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Sep 1 10:10:01 CDT 2010


Author: fjoe
Date: Wed Sep  1 10:09:57 2010
New Revision: 9243

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9243
Log:
Fix "opermode" definition for FreeBSD (should be array).

Modified:
    freebsd/trunk/drivers/dahdi/wctdm.c

Modified: freebsd/trunk/drivers/dahdi/wctdm.c
URL: http://svnview.digium.com/svn/dahdi/freebsd/trunk/drivers/dahdi/wctdm.c?view=diff&rev=9243&r1=9242&r2=9243
==============================================================================
--- freebsd/trunk/drivers/dahdi/wctdm.c (original)
+++ freebsd/trunk/drivers/dahdi/wctdm.c Wed Sep  1 10:09:57 2010
@@ -341,7 +341,11 @@
 static int boostringer = 0;
 static int fastringer = 0;
 static int _opermode = 0;
+#if defined(__FreeBSD__)
+static char opermode[16] = "FCC";
+#else
 static char *opermode = "FCC";
+#endif
 static int fxshonormode = 0;
 static int alawoverride = 0;
 static int fastpickup = 0;




More information about the dahdi-commits mailing list