summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-01-11 17:10:47 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-01-11 17:10:47 +0000
commit07a44af7e04f25b0b4cb916842bf0040f618e984 (patch)
tree9ff48f7eb9f26bd86afe909802502d87777ed18f /tor2.c
parentd248120d0cffee5c308c386fb4890221b19d7eb7 (diff)
Get rid of INC/DEC use count in tor2 when building for Linux 2.6
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@299 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'tor2.c')
-rwxr-xr-xtor2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tor2.c b/tor2.c
index de76a82..9df1f82 100755
--- a/tor2.c
+++ b/tor2.c
@@ -253,13 +253,17 @@ static int tor2_chanconfig(struct zt_chan *chan, int sigtype)
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;
}