summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-01 18:28:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-01 18:28:47 +0000
commit1ab6011ce4dc7e894a8bb97942c48ecb83cddad2 (patch)
tree3fdee87301ac348b861f67f5f5a975b735db428f /lib
parent2749004d58c076a9e4517938d8986380f8a798b8 (diff)
we do not need 'struct mbuf; struct rtentry;' to satisfy some ancient unix
variant that made a header file mistake. ok jsg
Diffstat (limited to 'lib')
-rw-r--r--lib/libpcap/gencode.c5
-rw-r--r--lib/libpcap/grammar.y5
-rw-r--r--lib/libpcap/inet.c5
-rw-r--r--lib/libpcap/nametoaddr.c5
4 files changed, 4 insertions, 16 deletions
diff --git a/lib/libpcap/gencode.c b/lib/libpcap/gencode.c
index 5018b52266c..b0c962e165b 100644
--- a/lib/libpcap/gencode.c
+++ b/lib/libpcap/gencode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gencode.c,v 1.57 2021/01/18 09:26:35 sthen Exp $ */
+/* $OpenBSD: gencode.c,v 1.58 2021/12/01 18:28:45 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998
@@ -26,9 +26,6 @@
#include <sys/socket.h>
#include <sys/time.h>
-struct mbuf;
-struct rtentry;
-
#include <net/if.h>
#include <netinet/in.h>
diff --git a/lib/libpcap/grammar.y b/lib/libpcap/grammar.y
index 434db5bf69e..0c7db1641ef 100644
--- a/lib/libpcap/grammar.y
+++ b/lib/libpcap/grammar.y
@@ -1,5 +1,5 @@
%{
-/* $OpenBSD: grammar.y,v 1.22 2020/08/03 03:40:02 dlg Exp $ */
+/* $OpenBSD: grammar.y,v 1.23 2021/12/01 18:28:45 deraadt Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -27,9 +27,6 @@
#include <sys/time.h>
#include <sys/socket.h>
-struct mbuf;
-struct rtentry;
-
#include <net/if.h>
#include <netinet/in.h>
diff --git a/lib/libpcap/inet.c b/lib/libpcap/inet.c
index 0aa3ef8c379..2e4db700d0d 100644
--- a/lib/libpcap/inet.c
+++ b/lib/libpcap/inet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet.c,v 1.25 2019/06/28 13:32:42 deraadt Exp $ */
+/* $OpenBSD: inet.c,v 1.26 2021/12/01 18:28:45 deraadt Exp $ */
/*
* Copyright (c) 1994, 1995, 1996, 1997, 1998
@@ -42,9 +42,6 @@
#endif
#include <sys/time.h> /* concession to AIX */
-struct mbuf;
-struct rtentry;
-
#include <net/if.h>
#include <netinet/in.h>
diff --git a/lib/libpcap/nametoaddr.c b/lib/libpcap/nametoaddr.c
index a4a1af54d8d..e7d0c79a11d 100644
--- a/lib/libpcap/nametoaddr.c
+++ b/lib/libpcap/nametoaddr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nametoaddr.c,v 1.23 2021/09/10 00:01:13 deraadt Exp $ */
+/* $OpenBSD: nametoaddr.c,v 1.24 2021/12/01 18:28:45 deraadt Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996
@@ -28,9 +28,6 @@
#include <sys/socket.h>
#include <sys/time.h>
-struct mbuf;
-struct rtentry;
-
#include <net/if.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>