summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/interface.h7
-rw-r--r--usr.sbin/tcpdump/util.c6
2 files changed, 7 insertions, 6 deletions
diff --git a/usr.sbin/tcpdump/interface.h b/usr.sbin/tcpdump/interface.h
index 4874e16e3b9..b6852b81951 100644
--- a/usr.sbin/tcpdump/interface.h
+++ b/usr.sbin/tcpdump/interface.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: interface.h,v 1.27 2001/06/25 23:05:17 provos Exp $ */
+/* $OpenBSD: interface.h,v 1.28 2001/10/02 18:04:35 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -20,7 +20,7 @@
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/interface.h,v 1.27 2001/06/25 23:05:17 provos Exp $ (LBL)
+ * @(#) $Header: /home/cvs/src/usr.sbin/tcpdump/interface.h,v 1.28 2001/10/02 18:04:35 deraadt Exp $ (LBL)
*/
#ifndef tcpdump_interface_h
@@ -138,9 +138,10 @@ extern const u_char *snapend;
#ifdef __STDC__
struct timeval;
+struct bpf_timeval;
#endif
-extern void ts_print(const struct timeval *);
+extern void ts_print(const struct bpf_timeval *);
extern int fn_print(const u_char *, const u_char *);
extern int fn_printn(const u_char *, u_int, const u_char *);
diff --git a/usr.sbin/tcpdump/util.c b/usr.sbin/tcpdump/util.c
index 667be93a72d..417e2fc183a 100644
--- a/usr.sbin/tcpdump/util.c
+++ b/usr.sbin/tcpdump/util.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: util.c,v 1.12 2001/09/03 13:25:53 jakob Exp $ */
+/* $OpenBSD: util.c,v 1.13 2001/10/02 18:04:36 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/util.c,v 1.12 2001/09/03 13:25:53 jakob Exp $ (LBL)";
+ "@(#) $Header: /home/cvs/src/usr.sbin/tcpdump/util.c,v 1.13 2001/10/02 18:04:36 deraadt Exp $ (LBL)";
#endif
#include <sys/types.h>
@@ -121,7 +121,7 @@ fn_printn(register const u_char *s, register u_int n,
* Print the timestamp
*/
void
-ts_print(register const struct timeval *tvp)
+ts_print(register const struct bpf_timeval *tvp)
{
register int s;
#define TSBUFLEN 32