The diff below fixes what mandoc -Tlint complains about,
anotates the authors' names with .An in pcap.3
and removes a bit of cruft.

I have more diffs lined up for this,
in case someone was about to do that.

Would it be beneficial to rewrite pcap-filter.3 in mdoc(7)?

        Jan


Index: pcap-filter.3
===================================================================
RCS file: /cvs/src/lib/libpcap/pcap-filter.3,v
retrieving revision 1.2
diff -u -p -r1.2 pcap-filter.3
--- pcap-filter.3       19 Feb 2014 04:51:32 -0000      1.2
+++ pcap-filter.3       27 Mar 2015 08:07:37 -0000
@@ -342,7 +342,6 @@ it does for FDDI and 802.11;
 \fBatalk\fP
 the filter checks both for the AppleTalk etype in an Ethernet frame and
 for a SNAP-format packet as it does for FDDI, Token Ring, and 802.11;
-.TP
 .RE
 .IP "\fBdecnet src \fIhost\fR"
 True if the DECNET source address is
@@ -724,10 +723,9 @@ icmp[icmptype] != icmp-echo and icmp[icm
 .BR pcap ( 3 ),
 .BR tcpdump ( 8 )
 .SH AUTHORS
-The original authors are:
-.LP
 Van Jacobson,
-Craig Leres and
-Steven McCanne, all of the
-Lawrence Berkeley National Laboratory, University of California, Berkeley, CA.
-.\" Fixes should be submitted to http://sourceforge.net/tracker/?group_id=53067
+Craig Leres
+and
+Steven McCanne,
+all of the Lawrence Berkeley National Laboratory,
+University of California, Berkeley, CA.
Index: pcap.3
===================================================================
RCS file: /cvs/src/lib/libpcap/pcap.3,v
retrieving revision 1.35
diff -u -p -r1.35 pcap.3
--- pcap.3      25 Jun 2013 16:49:39 -0000      1.35
+++ pcap.3      27 Mar 2015 08:07:37 -0000
@@ -46,9 +46,9 @@
 .Ft void
 .Fn pcap_dump "u_char *user" "struct pcap_pkthdr *h" "u_char *sp"
 .Ft int
-.Fn pcap_inject "pcap_t *p" "void *, size_t"
+.Fn pcap_inject "pcap_t *p" "void * size_t"
 .Ft int
-.Fn pcap_sendpacket "pcap_t *p" "void *, int"
+.Fn pcap_sendpacket "pcap_t *p" "void * int"
 .Ft int
 .Fn pcap_compile "pcap_t *p" "struct bpf_program *fp" "char *str" "int 
optimize" "bpf_u_int32 netmask"
 .Ft int
@@ -562,7 +562,9 @@ routine to an error string.
 .Xr tcpdump 8
 .\" , tcpslice(1)
 .Sh AUTHORS
-Van Jacobson,
-Craig Leres and
-Steven McCanne, all of the
-Lawrence Berkeley National Laboratory, University of California, Berkeley, CA.
+.An Van Jacobson ,
+.An Craig Leres
+and
+.An Steven McCanne ,
+all of the Lawrence Berkeley National Laboratory,
+University of California, Berkeley, CA.

Reply via email to