Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rx.c packet-rx.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: Sun, 19 Aug 2001 21:11:15 -0500 (CDT)
guy         2001/08/19 21:11:14 CDT

  Modified files:
    .                    packet-rx.c packet-rx.h 
  Log:
  Use "proto_tree_add_item()" rather than passing a "tvb_get_" function's
  result to "proto_tree_add_uint()".
  
  Get rid of the structure declarations in "packet-rx.h"; they're not
  used, and one of them has a zero-length array in it, which is not
  standard C, and not accepted by all C compilers.
  
  Revision  Changes    Path
  1.25      +40 -53    ethereal/packet-rx.c
  1.7       +9 -51     ethereal/packet-rx.h