From ddbd069887ec2844167a19b86838d0f3a1b319fe Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Wed, 19 Mar 1997 19:47:43 +0000 Subject: [PATCH] Fixed missing #include(s) (mostly of in synopsis). Reviewed by: wollman --- share/man/man4/divert.4 | 3 ++- share/man/man4/icmp.4 | 3 ++- share/man/man4/ifmib.4 | 3 ++- share/man/man4/ip.4 | 4 +++- share/man/man4/ipfirewall.4 | 5 ++++- share/man/man4/netintro.4 | 6 ++++-- share/man/man4/route.4 | 4 +++- share/man/man4/tcp.4 | 3 ++- share/man/man4/ttcp.4 | 3 ++- share/man/man4/udp.4 | 3 ++- 10 files changed, 26 insertions(+), 11 deletions(-) diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4 index 43899198f3f..ca0f1bf8202 100644 --- a/share/man/man4/divert.4 +++ b/share/man/man4/divert.4 @@ -1,4 +1,4 @@ -.\" $Id$ +.\" $Id: divert.4,v 1.7 1997/02/22 13:24:27 peter Exp $ .\" .Dd June 18, 1996 .Dt DIVERT 4 @@ -7,6 +7,7 @@ .Nm divert .Nd kernel packet diversion mechanism .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4 index f9fe2693b7c..e00522759f6 100644 --- a/share/man/man4/icmp.4 +++ b/share/man/man4/icmp.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)icmp.4 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: icmp.4,v 1.5 1997/02/22 13:24:30 peter Exp $ .\" .Dd June 5, 1993 .Dt ICMP 4 @@ -39,6 +39,7 @@ .Nm icmp .Nd Internet Control Message Protocol .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int diff --git a/share/man/man4/ifmib.4 b/share/man/man4/ifmib.4 index 6cefaffd5b8..5efddb3e203 100644 --- a/share/man/man4/ifmib.4 +++ b/share/man/man4/ifmib.4 @@ -25,7 +25,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: ifmib.4,v 1.6 1997/02/22 13:24:31 peter Exp $ .\" .Dd November 15, 1996 .Dt IFMIB 4 @@ -37,6 +37,7 @@ .Fd #include .Fd #include .Fd #include +.Fd #include .Fd #include .Fd #include .Sh DESCRIPTION diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4 index 97cd9b3e41f..bda42b923ea 100644 --- a/share/man/man4/ip.4 +++ b/share/man/man4/ip.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)ip.4 8.2 (Berkeley) 11/30/93 -.\" $Id$ +.\" $Id: ip.4,v 1.8 1997/02/22 13:24:34 peter Exp $ .\" .Dd November 30, 1993 .Dt IP 4 @@ -39,6 +39,7 @@ .Nm ip .Nd Internet Protocol .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int @@ -344,6 +345,7 @@ and may be used only with the .Dv SOCK_RAW type. .Bd -literal +#include #include int hincl = 1; /* 1 = on, 0 = off */ diff --git a/share/man/man4/ipfirewall.4 b/share/man/man4/ipfirewall.4 index 1f3ff736fcb..af601e9f744 100644 --- a/share/man/man4/ipfirewall.4 +++ b/share/man/man4/ipfirewall.4 @@ -1,5 +1,5 @@ .\" -.\" $Id$ +.\" $Id: ipfirewall.4,v 1.8 1997/03/07 02:49:27 jmg Exp $ .\" .Dd November 16, 1994 .Dt IPFIREWALL 4 @@ -11,6 +11,9 @@ .Nm ipacct .Nd IP packet filter and traffic accounting. .Sh SYNOPSIS +.Fd #include +.Fd #include +.Fd #include .Fd #include .Ft int .Fn setsockopt raw_socket IPPROTO_IP "ipfw/ipacct option" "struct ip | struct ipfw" size diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4 index 80ea1c47dc2..262332085c4 100644 --- a/share/man/man4/netintro.4 +++ b/share/man/man4/netintro.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)netintro.4 8.2 (Berkeley) 11/30/93 -.\" $Id$ +.\" $Id: netintro.4,v 1.7 1997/02/22 13:24:38 peter Exp $ .\" .Dd November 30, 1993 .Dt NETINTRO 4 @@ -39,9 +39,11 @@ .Nm networking .Nd introduction to networking facilities .Sh SYNOPSIS +.Fd #include +.Fd #include .Fd #include -.Fd #include .Fd #include +.Fd #include .Sh DESCRIPTION This section is a general introduction to the networking facilities available in the system. diff --git a/share/man/man4/route.4 b/share/man/man4/route.4 index 406551090e8..ebac573ea57 100644 --- a/share/man/man4/route.4 +++ b/share/man/man4/route.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)route.4 8.6 (Berkeley) 4/19/94 -.\" $Id$ +.\" $Id: route.4,v 1.5 1997/02/22 13:24:40 peter Exp $ .\" .Dd October 8, 1996 .Dt ROUTE 4 @@ -39,6 +39,8 @@ .Nm route .Nd kernel packet forwarding database .Sh SYNOPSIS +.Fd #include +.Fd #include .Fd #include .Fd #include .Fd #include diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4 index f8e1e9bde78..a1c7bb35f08 100644 --- a/share/man/man4/tcp.4 +++ b/share/man/man4/tcp.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" From: @(#)tcp.4 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: tcp.4,v 1.8 1997/02/22 13:24:45 peter Exp $ .\" .Dd February 14, 1995 .Dt TCP 4 @@ -39,6 +39,7 @@ .Nm tcp .Nd Internet Transmission Control Protocol .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int diff --git a/share/man/man4/ttcp.4 b/share/man/man4/ttcp.4 index d70c43e9d00..7d84c44e064 100644 --- a/share/man/man4/ttcp.4 +++ b/share/man/man4/ttcp.4 @@ -25,7 +25,7 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: ttcp.4,v 1.5 1997/02/22 13:24:46 peter Exp $ .\" .Dd January 18, 1995 .Dt TTCP 4 @@ -34,6 +34,7 @@ .Nm ttcp .Nd Transmission Control Protocol Extensions for Transactions .Sh +.Fd #include .Fd #include .Fd #include .Fd #include diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4 index 12f8c0ac49a..05656faef05 100644 --- a/share/man/man4/udp.4 +++ b/share/man/man4/udp.4 @@ -30,7 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)udp.4 8.1 (Berkeley) 6/5/93 -.\" $Id$ +.\" $Id: udp.4,v 1.5 1997/02/22 13:24:51 peter Exp $ .\" .Dd June 5, 1993 .Dt UDP 4 @@ -39,6 +39,7 @@ .Nm udp .Nd Internet User Datagram Protocol .Sh SYNOPSIS +.Fd #include .Fd #include .Fd #include .Ft int