Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal file.c file.h

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sun, 22 Aug 1999 02:19:32 -0500 (CDT)
guy         1999/08/22 02:19:30 CDT

  Modified files:
    .                    file.c file.h 
  Log:
  Remove the include of <sys/time.h> from "file.h" - it's neither
  necessary nor sufficient if you're using "struct tm" (on many, perhaps
  most, perhaps even all modern UNIXes, <sys/time.h> includes <time.h>,
  which declares "struct tm", but that's not necessarily the case on
  non-UNIX systems).
  
  Include <time.h> in "file.c", to declare "struct tm".
  
  Don't use PCAP_ERRBUF_SIZE to declare a message string buffer - that
  won't work if you don't have "libpcap".
  
  Revision  Changes    Path
  1.80      +5 -3      ethereal/file.c
  1.40      +1 -6      ethereal/file.h