summaryrefslogtreecommitdiff
path: root/hdlcstress.c
diff options
context:
space:
mode:
Diffstat (limited to 'hdlcstress.c')
-rw-r--r--hdlcstress.c6
1 files changed, 1 insertions, 5 deletions
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 <tor device>\n");
exit(1);