Move #include <time.h> into wtap-int.h instead of requiring it in

every C file. I noticed this because of a build break of csids.obj on
Win32.

svn path=/trunk/; revision=2378
This commit is contained in:
Gilbert Ramirez 2000-08-25 21:25:43 +00:00
parent 5429a55be3
commit 4a3b77ba46
10 changed files with 11 additions and 19 deletions

View File

@ -1,7 +1,7 @@
%{
/* ascend-grammar.y
*
* $Id: ascend-grammar.y,v 1.13 2000/05/19 23:06:46 gram Exp $
* $Id: ascend-grammar.y,v 1.14 2000/08/25 21:25:36 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -51,7 +51,6 @@ WD_DIALOUT_DISP: chunk 2515EE type IP.
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#ifdef HAVE_CONFIG_H
#include "config.h"

View File

@ -1,6 +1,6 @@
/* i4btrace.c
*
* $Id: i4btrace.c,v 1.8 2000/07/26 00:20:08 guy Exp $
* $Id: i4btrace.c,v 1.9 2000/08/25 21:25:37 gram Exp $
*
* Wiretap Library
* Copyright (c) 1999 by Bert Driehuis <driehuis@playbeing.org>
@ -26,7 +26,6 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* iptrace.c
*
* $Id: iptrace.c,v 1.29 2000/05/19 23:06:51 gram Exp $
* $Id: iptrace.c,v 1.30 2000/08/25 21:25:37 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -25,7 +25,6 @@
#endif
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"

View File

@ -1,6 +1,6 @@
/* lanalyzer.c
*
* $Id: lanalyzer.c,v 1.23 2000/05/19 23:06:52 gram Exp $
* $Id: lanalyzer.c,v 1.24 2000/08/25 21:25:38 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -25,7 +25,6 @@
#endif
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* netmon.c
*
* $Id: netmon.c,v 1.31 2000/05/19 23:06:55 gram Exp $
* $Id: netmon.c,v 1.32 2000/08/25 21:25:39 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -24,7 +24,6 @@
#include "config.h"
#endif
#include <errno.h>
#include <time.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"

View File

@ -1,6 +1,6 @@
/* nettl.c
*
* $Id: nettl.c,v 1.14 2000/07/26 00:20:08 guy Exp $
* $Id: nettl.c,v 1.15 2000/08/25 21:25:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -26,7 +26,6 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* netxray.c
*
* $Id: netxray.c,v 1.29 2000/06/24 05:32:47 guy Exp $
* $Id: netxray.c,v 1.30 2000/08/25 21:25:40 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -26,7 +26,6 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"

View File

@ -1,6 +1,6 @@
/* ngsniffer.c
*
* $Id: ngsniffer.c,v 1.49 2000/08/12 07:12:46 guy Exp $
* $Id: ngsniffer.c,v 1.50 2000/08/25 21:25:41 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -61,7 +61,6 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include <string.h>
#include "wtap-int.h"
#include "file_wrappers.h"

View File

@ -1,6 +1,6 @@
/* radcom.c
*
* $Id: radcom.c,v 1.24 2000/07/26 00:20:07 guy Exp $
* $Id: radcom.c,v 1.25 2000/08/25 21:25:42 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -26,7 +26,6 @@
#include <stdlib.h>
#include <errno.h>
#include <time.h>
#include "wtap-int.h"
#include "file_wrappers.h"
#include "buffer.h"

View File

@ -1,6 +1,6 @@
/* wtap-int.h
*
* $Id: wtap-int.h,v 1.6 2000/08/11 13:32:36 deniel Exp $
* $Id: wtap-int.h,v 1.7 2000/08/25 21:25:43 gram Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org>
@ -38,6 +38,7 @@
#include <glib.h>
#include <stdio.h>
#include <time.h>
#ifdef HAVE_LIBZ
#include "zlib.h"