summaryrefslogtreecommitdiff
path: root/usr.sbin/traceroute/traceroute.c
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2021-08-31 18:12:48 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2021-08-31 18:12:48 +0000
commit433d1fae90784c26748f0dfe3fc8aa48cc25fa7a (patch)
tree709fcbedfeb9d931289a406ac09e47689ed96b6c /usr.sbin/traceroute/traceroute.c
parent5d33c765eea05b57909ac1467f3087b0c8988144 (diff)
Make includes follow style(9).
Diffstat (limited to 'usr.sbin/traceroute/traceroute.c')
-rw-r--r--usr.sbin/traceroute/traceroute.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c
index 37a064688d5..21ee76dba1c 100644
--- a/usr.sbin/traceroute/traceroute.c
+++ b/usr.sbin/traceroute/traceroute.c
@@ -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 $ */
/*
@@ -233,27 +233,28 @@
* 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"