Ethereal-cvs: [Ethereal-cvs] rev 16791: /trunk/gtk/: capture_dlg.c capture_info_dlg.c /trunk/:

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

Date: Wed, 14 Dec 2005 07:29:42 GMT
User: guy
Date: 2005/12/14 01:29 AM

Log:
 Constify a bunch of arguments and variables, to squelch compiler
 warnings.
 
 Include "wiretap/libpcap.h" in "capture_loop.h", to get its declarations
 of data structures for headers in libpcap files.  This lets us remove
 the includes of "wiretap/libpcap.h from files including
 "capture_loop.h".
 
 Make "log_func_ignore()" in "tethereal.c" static, and declare some of
 its arguments unused.  Also get rid of an unused variable.
 
 Include <pcap.h> before including "wiretap/wtap-capture.h", to declare
 "struct pcap_pkthdr".

Directory: /trunk/gtk/
  Changes    Path                  Action
  +3 -3      capture_dlg.c         Modified
  +0 -1      capture_info_dlg.c    Modified

Directory: /trunk/
  Changes    Path                   Action
  +3 -3      capture-pcap-util.c    Modified
  +2 -2      capture-pcap-util.h    Modified
  +2 -3      capture_loop.c         Modified
  +8 -0      capture_loop.h         Modified
  +2 -2      capture_ui_utils.c     Modified
  +1 -1      capture_ui_utils.h     Modified
  +3 -3      tethereal.c            Modified



http://anonsvn.ethereal.com/viewcvs/viewcvs.py?rev=16791&view=rev