summaryrefslogtreecommitdiffstats
path: root/ax25ipd
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2009-06-14 08:48:52 +0000
committerRalf Baechle <ralf@linux-mips.org>2009-06-14 08:48:52 +0000
commitcd98bf42c5ab3cb061a32068d866616c71c40bf9 (patch)
tree3237238ec7bd2cca3adeb4e47f6cd9c372ae9d2c /ax25ipd
parent6aea263a2ef5d13b7fb750401d30f7a41e9c5229 (diff)
Eleminate use of register keyword
Any modern C compiler will just ignore register so it's just cluttering the screen.
Diffstat (limited to 'ax25ipd')
-rw-r--r--ax25ipd/ax25ipd.h2
-rw-r--r--ax25ipd/crc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ax25ipd/ax25ipd.h b/ax25ipd/ax25ipd.h
index df16141..06efd58 100644
--- a/ax25ipd/ax25ipd.h
+++ b/ax25ipd/ax25ipd.h
@@ -169,7 +169,7 @@ int io_error(int, unsigned char *, int, int, int, int);
/* crc.c */
unsigned short int compute_crc(unsigned char *, int);
-unsigned short int pppfcs(register unsigned short, register unsigned char *, register int);
+unsigned short int pppfcs(unsigned short, unsigned char *, int);
unsigned short int compute_crc(unsigned char *, int);
int ok_crc(unsigned char *, int);
diff --git a/ax25ipd/crc.c b/ax25ipd/crc.c
index b90bde0..d132968 100644
--- a/ax25ipd/crc.c
+++ b/ax25ipd/crc.c
@@ -70,7 +70,7 @@ static u16 fcstab[256] = {
/*
* Calculate a new fcs given the current fcs and the new data.
*/
-u16 pppfcs(register u16 fcs, register unsigned char *cp, register int len)
+u16 pppfcs(u16 fcs, unsigned char *cp, int len)
{
/* ASSERT(sizeof (u16) == 2); */
/* ASSERT(((u16) -1) > 0); */