There's no painless way to do this, but it needs to be done --

the only reason any of the Windows code was in CPP files was
because the MS compiler doesn't support C99.  Switch to using
MinGW, and that problem goes away, so we can rename the files back.
This commit is contained in:
bushing 2009-12-22 12:42:54 +00:00
commit a99c6a1921
11 changed files with 3129 additions and 3145 deletions

View file

@ -1,5 +1,5 @@
WORD update_crc16( WORD crc, BYTE c ) {
WORD i, v, tcrc = 0;
unsigned short update_crc16( unsigned short crc, unsigned char c ) {
unsigned short i, v, tcrc = 0;
v = (crc ^ c) & 0xff;
for (i = 0; i < 8; i++) {