summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2013-03-28 23:10:07 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2013-03-28 23:10:07 +0000
commit7d5b5619d6e16f0ffde4b40eb6e974b3abaeec38 (patch)
tree75c68b71b16ae5c7234af25311a261545a542a7b /sys
parent8eab78c8852faa4c8235857c862c11335c196128 (diff)
code that calls timeout functions should include timeout.h
slipped by on i386, but the zaurus doesn't automagically pick it up. spotted by patrick
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c3
-rw-r--r--sys/net/if_bridge.c3
-rw-r--r--sys/net/if_pflow.c3
-rw-r--r--sys/net/pfkeyv2_convert.c3
-rw-r--r--sys/net/pipex.c3
-rw-r--r--sys/net/ppp_tty.c3
-rw-r--r--sys/net/route.c3
-rw-r--r--sys/netinet/if_ether.c3
-rw-r--r--sys/netinet/ip_carp.c3
-rw-r--r--sys/netinet/ip_ipsp.c3
-rw-r--r--sys/netinet/ip_spd.c3
-rw-r--r--sys/netinet/ipsec_input.c3
-rw-r--r--sys/netinet/ipsec_output.c3
-rw-r--r--sys/netinet/tcp_input.c3
-rw-r--r--sys/netinet/tcp_subr.c3
-rw-r--r--sys/netinet6/ip6_input.c3
16 files changed, 32 insertions, 16 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 161a7f76a86..29717302feb 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.255 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: if.c,v 1.256 2013/03/28 23:10:05 tedu Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -75,6 +75,7 @@
#include <sys/pool.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <sys/protosw.h>
#include <sys/kernel.h>
#include <sys/ioctl.h>
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index 493f315397f..d5cb23d6841 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.209 2013/03/28 16:55:27 deraadt Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.210 2013/03/28 23:10:05 tedu Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -41,6 +41,7 @@
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#include <sys/timeout.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/kernel.h>
diff --git a/sys/net/if_pflow.c b/sys/net/if_pflow.c
index 91f995c9d05..28644c9c204 100644
--- a/sys/net/if_pflow.c
+++ b/sys/net/if_pflow.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflow.c,v 1.26 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: if_pflow.c,v 1.27 2013/03/28 23:10:05 tedu Exp $ */
/*
* Copyright (c) 2011 Florian Obser <florian@narrans.de>
@@ -25,6 +25,7 @@
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#include <sys/timeout.h>
#include <sys/ioctl.h>
#include <sys/kernel.h>
#include <sys/sysctl.h>
diff --git a/sys/net/pfkeyv2_convert.c b/sys/net/pfkeyv2_convert.c
index 392a5c150b8..15c047f1946 100644
--- a/sys/net/pfkeyv2_convert.c
+++ b/sys/net/pfkeyv2_convert.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2_convert.c,v 1.38 2013/03/09 16:51:30 deraadt Exp $ */
+/* $OpenBSD: pfkeyv2_convert.c,v 1.39 2013/03/28 23:10:05 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@keromytis.org)
*
@@ -99,6 +99,7 @@
#include <sys/mbuf.h>
#include <sys/kernel.h>
#include <sys/socket.h>
+#include <sys/timeout.h>
#include <net/route.h>
#include <net/if.h>
diff --git a/sys/net/pipex.c b/sys/net/pipex.c
index 3cd5a7d80b2..b15b3f79b05 100644
--- a/sys/net/pipex.c
+++ b/sys/net/pipex.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.c,v 1.39 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: pipex.c,v 1.40 2013/03/28 23:10:05 tedu Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -36,6 +36,7 @@
#include <sys/syslog.h>
#include <sys/conf.h>
#include <sys/time.h>
+#include <sys/timeout.h>
#include <sys/kernel.h>
#include <net/if.h>
diff --git a/sys/net/ppp_tty.c b/sys/net/ppp_tty.c
index 8d74b22dab2..04155998937 100644
--- a/sys/net/ppp_tty.c
+++ b/sys/net/ppp_tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ppp_tty.c,v 1.25 2012/03/28 19:39:33 claudio Exp $ */
+/* $OpenBSD: ppp_tty.c,v 1.26 2013/03/28 23:10:05 tedu Exp $ */
/* $NetBSD: ppp_tty.c,v 1.12 1997/03/24 21:23:10 christos Exp $ */
/*
@@ -103,6 +103,7 @@
#include <sys/mbuf.h>
#include <sys/dkstat.h>
#include <sys/socket.h>
+#include <sys/timeout.h>
#include <sys/ioctl.h>
#include <sys/file.h>
#include <sys/tty.h>
diff --git a/sys/net/route.c b/sys/net/route.c
index 0c4e1b2aa9b..d4510dd44ea 100644
--- a/sys/net/route.c
+++ b/sys/net/route.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: route.c,v 1.143 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: route.c,v 1.144 2013/03/28 23:10:05 tedu Exp $ */
/* $NetBSD: route.c,v 1.14 1996/02/13 22:00:46 christos Exp $ */
/*
@@ -106,6 +106,7 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <sys/domain.h>
#include <sys/protosw.h>
#include <sys/ioctl.h>
diff --git a/sys/netinet/if_ether.c b/sys/netinet/if_ether.c
index a892ea42a87..d2cd803b7b5 100644
--- a/sys/netinet/if_ether.c
+++ b/sys/netinet/if_ether.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.c,v 1.100 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: if_ether.c,v 1.101 2013/03/28 23:10:05 tedu Exp $ */
/* $NetBSD: if_ether.c,v 1.31 1996/05/11 12:59:58 mycroft Exp $ */
/*
@@ -47,6 +47,7 @@
#include <sys/systm.h>
#include <sys/mbuf.h>
#include <sys/socket.h>
+#include <sys/timeout.h>
#include <sys/kernel.h>
#include <sys/syslog.h>
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 6bfcb546eeb..084914f107d 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.203 2013/03/28 16:55:27 deraadt Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.204 2013/03/28 23:10:05 tedu Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -41,6 +41,7 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <sys/ioctl.h>
#include <sys/errno.h>
#include <sys/device.h>
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 2af6ba12a9a..6f42981ffa4 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.185 2012/09/20 10:25:03 blambert Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.186 2013/03/28 23:10:05 tedu Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr),
@@ -46,6 +46,7 @@
#include <sys/kernel.h>
#include <sys/proc.h>
#include <sys/sysctl.h>
+#include <sys/timeout.h>
#include <net/if.h>
#include <net/route.h>
diff --git a/sys/netinet/ip_spd.c b/sys/netinet/ip_spd.c
index fecc8af3a75..5e87d708a8e 100644
--- a/sys/netinet/ip_spd.c
+++ b/sys/netinet/ip_spd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_spd.c,v 1.64 2012/07/16 18:05:36 markus Exp $ */
+/* $OpenBSD: ip_spd.c,v 1.65 2013/03/28 23:10:06 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -28,6 +28,7 @@
#include <sys/socketvar.h>
#include <sys/protosw.h>
#include <sys/pool.h>
+#include <sys/timeout.h>
#include <net/if.h>
#include <net/route.h>
diff --git a/sys/netinet/ipsec_input.c b/sys/netinet/ipsec_input.c
index c5e0c104ad6..8614f1212df 100644
--- a/sys/netinet/ipsec_input.c
+++ b/sys/netinet/ipsec_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_input.c,v 1.109 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: ipsec_input.c,v 1.110 2013/03/28 23:10:06 tedu Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
* Angelos D. Keromytis (kermit@csd.uch.gr) and
@@ -44,6 +44,7 @@
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <sys/kernel.h>
+#include <sys/timeout.h>
#include <net/if.h>
#include <net/netisr.h>
diff --git a/sys/netinet/ipsec_output.c b/sys/netinet/ipsec_output.c
index bc225cf4767..4b7183c9493 100644
--- a/sys/netinet/ipsec_output.c
+++ b/sys/netinet/ipsec_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipsec_output.c,v 1.46 2012/09/20 10:25:03 blambert Exp $ */
+/* $OpenBSD: ipsec_output.c,v 1.47 2013/03/28 23:10:06 tedu Exp $ */
/*
* The author of this code is Angelos D. Keromytis (angelos@cis.upenn.edu)
*
@@ -27,6 +27,7 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/kernel.h>
+#include <sys/timeout.h>
#include <net/if.h>
#include <net/route.h>
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c
index 639e995ddc8..2bd8a50609f 100644
--- a/sys/netinet/tcp_input.c
+++ b/sys/netinet/tcp_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_input.c,v 1.256 2013/03/14 11:18:37 mpi Exp $ */
+/* $OpenBSD: tcp_input.c,v 1.257 2013/03/28 23:10:06 tedu Exp $ */
/* $NetBSD: tcp_input.c,v 1.23 1996/02/13 23:43:44 christos Exp $ */
/*
@@ -74,6 +74,7 @@
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <sys/kernel.h>
#include <sys/pool.h>
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index e517f5dbc2e..285a510e9e4 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.115 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.116 2013/03/28 23:10:06 tedu Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -73,6 +73,7 @@
#include <sys/mbuf.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
+#include <sys/timeout.h>
#include <sys/protosw.h>
#include <sys/kernel.h>
#include <sys/pool.h>
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c
index 081f3e45350..36f7a70b87b 100644
--- a/sys/netinet6/ip6_input.c
+++ b/sys/netinet6/ip6_input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_input.c,v 1.110 2013/03/28 16:45:16 tedu Exp $ */
+/* $OpenBSD: ip6_input.c,v 1.111 2013/03/28 23:10:06 tedu Exp $ */
/* $KAME: ip6_input.c,v 1.188 2001/03/29 05:34:31 itojun Exp $ */
/*
@@ -74,6 +74,7 @@
#include <sys/socketvar.h>
#include <sys/errno.h>
#include <sys/time.h>
+#include <sys/timeout.h>
#include <sys/kernel.h>
#include <sys/syslog.h>