Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk main.c menu.c recent.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: Mon, 19 Jan 2004 17:03:20 -0600 (CST)
guy         2004/01/19 17:03:20 CST

  Modified files:
    gtk                  main.c menu.c recent.c 
  Log:
  Move "ts_type_text" out of "epan/timestamp.h into "gtk/recent.c", as
  it's only used in the latter; that avoids lots of warnings about
  "ts_type_text" being defined but not used in other source files that
  include "epan/timestamp.h".  (If it's going to be used in more than one
  file, make it non-static and declare it "extern" in "epan/timestamp.h".)
  
  Define TS_NOT_SET as ((ts_type)-1), and use that when initializing
  "timestamp_type" in Ethereal and when checking to see whether
  "timestamp_type" was set, to avoid signed vs. unsigned comparison
  warnings.
  
  Clean up indentation.
  
  Revision  Changes    Path
  1.361     +2 -2      ethereal/gtk/main.c
  1.139     +7 -7      ethereal/gtk/menu.c
  1.4       +3 -6      ethereal/gtk/recent.c