Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan proto.c proto.h

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

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Nov 2002 19:46:13 -0600 (CST)
guy         2002/11/27 19:46:13 CST

  Modified files:
    epan                 proto.c proto.h 
  Log:
  Make the "strings" pointer in a "header_field_info" structure a const
  pointer, and put "const" into the casts in "VALS()" and "TFS()" macros,
  so we don't un-constify pointers to "value_string" arrays and
  "true_false_string" structures.
  
  Make some things "const" to keep the compiler happy with the previous
  change.
  
  Revision  Changes    Path
  1.77      +4 -4      ethereal/epan/proto.c
  1.37      +4 -4      ethereal/epan/proto.h