diff options
Diffstat (limited to 'ax25/axgetput')
-rw-r--r-- | ax25/axgetput/proto_bin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25/axgetput/proto_bin.c b/ax25/axgetput/proto_bin.c index 32fb227..3cb3b4b 100644 --- a/ax25/axgetput/proto_bin.c +++ b/ax25/axgetput/proto_bin.c @@ -38,7 +38,7 @@ static int do_crc(char b, unsigned int crc) return (crctab[(crc >> 8)] ^ ((crc << 8) | (b & 0xff))) & 0xffff; } -unsigned int calc_crc(char *buf, int n, unsigned crc) +static unsigned int calc_crc(char *buf, int n, unsigned crc) { while (--n >= 0) crc = do_crc(*buf++, crc); |