summaryrefslogtreecommitdiff
path: root/zaptel.c
diff options
context:
space:
mode:
Diffstat (limited to 'zaptel.c')
-rw-r--r--zaptel.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/zaptel.c b/zaptel.c
index 253607b..f8cf888 100644
--- a/zaptel.c
+++ b/zaptel.c
@@ -222,7 +222,8 @@ static struct class_simple *zap_class = NULL;
static int deftaps = 64;
-static
+#if !defined(LINUX26)
+static
__u16 fcstab[256] =
{
0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf,
@@ -258,6 +259,7 @@ __u16 fcstab[256] =
0xf78f, 0xe606, 0xd49d, 0xc514, 0xb1ab, 0xa022, 0x92b9, 0x8330,
0x7bc7, 0x6a4e, 0x58d5, 0x495c, 0x3de3, 0x2c6a, 0x1ef1, 0x0f78
};
+#endif
static int debug;
@@ -6595,7 +6597,7 @@ static void __zt_getempty(struct zt_chan *ms, unsigned char *buf)
static void __zt_receive_chunk(struct zt_chan *chan, unsigned char *buf)
{
/* Receive chunk of audio -- called with chan->lock held */
- char waste[ZT_CHUNKSIZE];
+ unsigned char waste[ZT_CHUNKSIZE];
if (!buf) {
memset(waste, ZT_LIN2X(0, chan), sizeof(waste));