Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk main.c

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, 4 Jul 2001 19:34:42 -0500 (CDT)
guy         2001/07/04 19:34:41 CDT

  Modified files:
    gtk                  main.c 
  Log:
  "open_cap_file()" in Ethereal and Tethereal don't use the FILE_T they
  get from calling "wtap_file()", so get rid of the call and the
  (otherwise unused) variable to which its result gets assigned.
  
  That lets us get rid of "wtap_file()" in Wiretap.
  
  It also lets us get rid of the include of "zlib.h" in "file.h"; the
  #defines of "file_open()", "filed_open()", and "file_close()" are also
  unnecessary, so we get rid of those as well.
  
  However, that means we need to include <zlib.h> in "gtk/main.c" and
  "tethereal.c", so that the version number of libz is defined and can
  show up in the version string.
  
  Revision  Changes    Path
  1.203     +5 -1      ethereal/gtk/main.c