summaryrefslogtreecommitdiff
path: root/sbin/ping
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2015-11-05 21:53:36 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2015-11-05 21:53:36 +0000
commit3277fb17f93b7bbd47e5e86bc6f20b8173f9955b (patch)
tree3ae056d0e54639ccf7b57e60e27062fb36a9ea15 /sbin/ping
parentc0762d4880a9fd1313cbfec4381912fc293f7d2f (diff)
Reorder #includes to reduce diff between ping and ping6.
Diffstat (limited to 'sbin/ping')
-rw-r--r--sbin/ping/ping.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/sbin/ping/ping.c b/sbin/ping/ping.c
index 4c638f4a115..963e04b19b5 100644
--- a/sbin/ping/ping.c
+++ b/sbin/ping/ping.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping.c,v 1.132 2015/11/04 21:26:30 tedu Exp $ */
+/* $OpenBSD: ping.c,v 1.133 2015/11/05 21:53:35 florian Exp $ */
/* $NetBSD: ping.c,v 1.20 1995/08/11 22:37:58 cgd Exp $ */
/*
@@ -52,7 +52,6 @@
*/
#include <sys/types.h>
-#include <sys/queue.h>
#include <sys/socket.h>
#include <sys/time.h>
@@ -61,20 +60,21 @@
#include <netinet/ip_icmp.h>
#include <netinet/ip_var.h>
#include <arpa/inet.h>
-#include <math.h>
#include <netdb.h>
-#include <signal.h>
-#include <unistd.h>
-#include <stdio.h>
+
#include <ctype.h>
#include <err.h>
#include <errno.h>
-#include <poll.h>
-#include <string.h>
#include <limits.h>
-#include <stdlib.h>
-
+#include <math.h>
+#include <poll.h>
+#include <signal.h>
#include <siphash.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <time.h>
+#include <unistd.h>
struct tv64 {
u_int64_t tv64_sec;