Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal packet-rtps.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, 17 Apr 2004 17:11:42 -0500 (CDT)
guy         2004/04/17 17:11:42 CDT

  Modified files:
    .                    packet-rtps.c 
  Log:
  Put "#" in pre-processor keywords at the beginning of the line - I seem
  to remember that at least at one point in the history of C, at least one
  compiler required that.
  
  Clean up the byte-order stuff - LITTLE_ENDIAN and BIG_ENDIAN aren't
  defined by Ethereal or GLib, so we shouldn't use them (some platforms
  might define them, but at least some platforms define them *both* as
  non-zero values, so they can't be used as "true or false" values for
  "e_bit"), and we don't need to worry about the byte order of the machine
  running Ethereal - we should just use Ethereal's standard routines to
  fetch little-endian or big-endian values.
  
  Get rid of C++ comments.
  
  Revision  Changes    Path
  1.2       +146 -195  ethereal/packet-rtps.c