make crc16_table[] static const

This commit is contained in:
jdolecek 2003-10-19 19:30:08 +00:00
parent 536bcfc87a
commit 47740ad0ef
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ncdcs.c,v 1.2 2003/10/19 08:54:13 wiz Exp $ */
/* $NetBSD: ncdcs.c,v 1.3 2003/10/19 19:30:08 jdolecek Exp $ */
/*
** Program to prepare an ELF file for download to an IBM Network
** Station 300 or 1000 running the NCD firmware.
@ -44,7 +44,7 @@ void put_be_32(unsigned char *p, unsigned long x);
#endif
unsigned short crc16_table[256] = {
static const unsigned short crc16_table[256] = {
0x0000, 0x1189, 0x2312, 0x329b, 0x4624, 0x57ad, 0x6536, 0x74bf,
0x8c48, 0x9dc1, 0xaf5a, 0xbed3, 0xca6c, 0xdbe5, 0xe97e, 0xf8f7,
0x1081, 0x0108, 0x3393, 0x221a, 0x56a5, 0x472c, 0x75b7, 0x643e,