summaryrefslogtreecommitdiffstats
path: root/ax25ipd/kiss.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-01-31 11:32:49 +0100
committerRalf Baechle <ralf@linux-mips.org>2017-01-31 11:32:49 +0100
commit1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 (patch)
treec81a8d6c58fcee19cead9cce8122ec35342428b1 /ax25ipd/kiss.c
parentaa1bfde879f3c5885199d7bb4720efaabff67d8c (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd/kiss.c')
-rw-r--r--ax25ipd/kiss.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/ax25ipd/kiss.c b/ax25ipd/kiss.c
index fded84c..f07db22 100644
--- a/ax25ipd/kiss.c
+++ b/ax25ipd/kiss.c
@@ -21,23 +21,23 @@
#define TFEND 0xdc
#define TFESC 0xdd
-unsigned char iframe[MAX_FRAME];
-unsigned char *ifptr;
-int ifcount;
-int iescaped;
+static unsigned char iframe[MAX_FRAME];
+static unsigned char *ifptr;
+static int ifcount;
+static int iescaped;
-unsigned char oframe[MAX_FRAME];
-unsigned char *ofptr;
-int ofcount;
+static unsigned char oframe[MAX_FRAME];
+static unsigned char *ofptr;
+static int ofcount;
#define PTABLE_SIZE 10
-struct param_table_entry {
+static struct param_table_entry {
unsigned char parameter;
unsigned char value;
} param_tbl[PTABLE_SIZE];
-int param_tbl_top;
+static int param_tbl_top;
/*