"open_cap_file()" in Ethereal and Tethereal don't use the FILE_T they
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 5 Jul 2001 00:34:42 +0000 (00:34 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 5 Jul 2001 00:34:42 +0000 (00:34 +0000)
commitb89b5cb26c82abfcba95a1471b26c66f3cb3d516
tree2af1d1f3e7ff5dab230520d5f70c0c4d69e2d38a
parent6d9450f493f6073fecec03eed0568064c9507c44
"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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3652 f5534014-38df-0310-8fa8-9805f1628bb7
file.c
file.h
gtk/main.c
tethereal.c
wiretap/wtap.c
wiretap/wtap.h