From 1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 31 Jan 2017 11:32:49 +0100 Subject: Sort out variable and function declarations. - Make static what can be made static. - Add declaration where they were missing. - Don't define variables in headers. - Move declaations to the proper locations. - Pick up declarations from the proper headers. Signed-off-by: Ralf Baechle --- ax25ipd/bpqether.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ax25ipd/bpqether.c') diff --git a/ax25ipd/bpqether.c b/ax25ipd/bpqether.c index e1a0d25..21596ca 100644 --- a/ax25ipd/bpqether.c +++ b/ax25ipd/bpqether.c @@ -1,4 +1,3 @@ -extern int ttyfd; /* * this is a port of wampes ethertap whith my extension for bpqether * @@ -55,7 +54,7 @@ struct ethertap_packet { char data[MAX_FRAME]; }; -unsigned char hwaddr_remote[6]; +static unsigned char hwaddr_remote[6]; static int ethertap_header_len; -- cgit v1.2.3