Move "ts_type_text" out of "epan/timestamp.h into "gtk/recent.c", as
authorGuy Harris <guy@alum.mit.edu>
Mon, 19 Jan 2004 23:03:20 +0000 (23:03 -0000)
committerGuy Harris <guy@alum.mit.edu>
Mon, 19 Jan 2004 23:03:20 +0000 (23:03 -0000)
commitd4ab584f0fd1a82cbd0f5aba36be863fc219868d
treee8877f13235bce4ddd52cb7e56a510db8e6faf34
parent439159f73da4deff6aa2adbafa5be34f3617c333
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.

svn path=/trunk/; revision=9740
epan/timestamp.h
gtk/main.c
gtk/menu.c
gtk/recent.c