[Asterisk-cvs] zaptel tor2.c,1.16,1.17

markster at lists.digium.com markster at lists.digium.com
Sun Jan 11 11:19:01 CST 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv14044

Modified Files:
	tor2.c 
Log Message:
Get rid of INC/DEC use count in tor2 when building for Linux 2.6


Index: tor2.c
===================================================================
RCS file: /usr/cvsroot/zaptel/tor2.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- tor2.c	2 Jan 2004 23:28:52 -0000	1.16
+++ tor2.c	11 Jan 2004 17:10:47 -0000	1.17
@@ -253,13 +253,17 @@
 
 static int tor2_open(struct zt_chan *chan)
 {
+#ifndef LINUX26
 	MOD_INC_USE_COUNT;
+#endif
 	return 0;
 }
 
 static int tor2_close(struct zt_chan *chan)
 {
+#ifndef LINUX26
 	MOD_DEC_USE_COUNT;
+#endif	
 	return 0;
 }
 




More information about the svn-commits mailing list