Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal crc16.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Sat, 26 Jun 2004 04:45:27 -0500 (CDT)
guy         2004/06/26 04:45:27 CDT

  Modified files:
    .                    crc16.c 
  Log:
  Make the CRC-16 table static (as it's not used outside "crc16.c") and
  "const" (as nothing writes to it).
  
  "len" is unsigned, so it can never be < 0 - it can only be 0 or != 0.
  
  Revision  Changes    Path
  1.2       +9 -7      ethereal/crc16.c