Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal file.c file.h tethereal.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:40 -0500 (CDT)
guy         2001/07/04 19:34:40 CDT

  Modified files:
    .                    file.c file.h tethereal.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.242     +1 -3      ethereal/file.c
  1.84      +1 -14     ethereal/file.h
  1.87      +5 -3      ethereal/tethereal.c