summaryrefslogtreecommitdiff
path: root/tor2.c
diff options
context:
space:
mode:
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;
}