From b04ba7d0159f807f3b8a4dc88123e1163506729d Mon Sep 17 00:00:00 2001 From: tzafrir Date: Fri, 21 Mar 2008 00:36:13 +0000 Subject: * Earleier initialization of PRI module's register. * Fix zaptel-perl reporting of battery after procfs changes. * Documentation updates. git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@4036 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- hdlcstress.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'hdlcstress.c') diff --git a/hdlcstress.c b/hdlcstress.c index 70505a2..b473a68 100644 --- a/hdlcstress.c +++ b/hdlcstress.c @@ -74,7 +74,6 @@ void send_packet(unsigned char *buf, int len) { int res; int x; - int out; unsigned char outbuf[BLOCK_SIZE]; int pos=0; unsigned int fcs = PPP_INITFCS; @@ -113,16 +112,13 @@ void send_packet(unsigned char *buf, int len) int main(int argc, char *argv[]) { int fd2; - int ires, res, x; + int res; int i; ZT_PARAMS tp; ZT_BUFFERINFO bi; int bs = BLOCK_SIZE; unsigned char c=0; - unsigned char inbuf[BLOCK_SIZE]; unsigned char outbuf[BLOCK_SIZE]; - unsigned int fcs; - static int packets=0; if (argc < 2) { fprintf(stderr, "Usage: markhdlctest \n"); exit(1); -- cgit v1.2.3