Make includes follow style(9).
authorflorian <florian@openbsd.org>
Tue, 31 Aug 2021 18:12:47 +0000 (18:12 +0000)
committerflorian <florian@openbsd.org>
Tue, 31 Aug 2021 18:12:47 +0000 (18:12 +0000)
usr.sbin/traceroute/traceroute.c
usr.sbin/traceroute/traceroute.h
usr.sbin/traceroute/worker.c

index 37a0646..21ee76d 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: traceroute.c,v 1.166 2021/08/28 19:59:49 sthen Exp $  */
+/*     $OpenBSD: traceroute.c,v 1.167 2021/08/31 18:12:47 florian Exp $        */
 /*     $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $  */
 
 /*
  *     Tue Dec 20 03:50:13 PST 1988
  */
 
+#include <sys/socket.h>
+#include <sys/sysctl.h>
+#include <sys/time.h>
+#include <sys/uio.h>
 
-#include <arpa/inet.h>
-#include <endian.h>
-#include <err.h>
-#include <errno.h>
-#include <limits.h>
-#include <netdb.h>
-#include <netinet/icmp6.h>
 #include <netinet/in.h>
 #include <netinet/ip.h>
 #include <netinet/ip6.h>
 #include <netinet/ip_icmp.h>
+#include <netinet/icmp6.h>
 #include <netinet/udp.h>
+
+#include <arpa/inet.h>
+
+#include <err.h>
+#include <errno.h>
+#include <limits.h>
+#include <netdb.h>
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
-#include <sys/socket.h>
-#include <sys/sysctl.h>
-#include <sys/time.h>
-#include <sys/uio.h>
 #include <unistd.h>
 
 #include "traceroute.h"
index e8dd831..1704068 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: traceroute.h,v 1.5 2017/05/28 10:06:13 benno Exp $    */
+/*     $OpenBSD: traceroute.h,v 1.6 2021/08/31 18:12:47 florian Exp $  */
 /*     $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $  */
 
 /*
  * SUCH DAMAGE.
  */
 
+#include <sys/types.h>
 
 #include <netinet/ip_var.h>
 #include <netmpls/mpls.h>
-#include <sys/cdefs.h>
-#include <sys/types.h>
 
 #define DUMMY_PORT 10010
 
index e56bf59..7a6aef0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: worker.c,v 1.6 2019/06/28 13:32:51 deraadt Exp $      */
+/*     $OpenBSD: worker.c,v 1.7 2021/08/31 18:12:47 florian Exp $      */
 /*     $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $  */
 
 /*
  * SUCH DAMAGE.
  */
 
-#include <arpa/inet.h>
-#include <arpa/nameser.h>
-#include <endian.h>
-#include <err.h>
-#include <limits.h>
-#include <netdb.h>
-#include <netinet/icmp6.h>
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <sys/time.h>
+#include <sys/uio.h>
+
 #include <netinet/in.h>
 #include <netinet/ip.h>
 #include <netinet/ip6.h>
 #include <netinet/ip_icmp.h>
+#include <netinet/icmp6.h>
 #include <netinet/udp.h>
+
+#include <arpa/inet.h>
+#include <arpa/nameser.h>
+
+#include <err.h>
+#include <limits.h>
+#include <netdb.h>
 #include <poll.h>
 #include <stdio.h>
 #include <string.h>
-#include <sys/socket.h>
-#include <sys/time.h>
-#include <sys/types.h>
-#include <sys/uio.h>
 #include <time.h>
 #include <unistd.h>