From 500e708bfba7b2ccd2a3b687a2c3aef72cfbbe8e Mon Sep 17 00:00:00 2001 From: uno20001 Date: Wed, 26 Jun 2019 11:51:22 +0200 Subject: astraceroute: reorder function declarations Group functions for the same protocol together. Signed-off-by: uno20001 Signed-off-by: Tobias Klauser --- astraceroute.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/astraceroute.c b/astraceroute.c index d70802a..4567d03 100644 --- a/astraceroute.c +++ b/astraceroute.c @@ -74,17 +74,17 @@ static sig_atomic_t sigint = 0; static int assemble_ipv4(uint8_t *packet, size_t len, int ttl, int proto, const struct ctx *ctx, const struct sockaddr *dst, const struct sockaddr *src); -static int assemble_ipv6(uint8_t *packet, size_t len, int ttl, int proto, - const struct ctx *ctx, const struct sockaddr *dst, - const struct sockaddr *src); static int check_ipv4(uint8_t *packet, size_t len, int ttl, int id, const struct sockaddr *ss); static void handle_ipv4(uint8_t *packet, size_t len, int dns_resolv, int latitude); +static int assemble_ipv6(uint8_t *packet, size_t len, int ttl, int proto, + const struct ctx *ctx, const struct sockaddr *dst, + const struct sockaddr *src); static int check_ipv6(uint8_t *packet, size_t len, int ttl, int id, const struct sockaddr *ss); static void handle_ipv6(uint8_t *packet, size_t len, int dns_resolv, - int latitude); + int latitude); static const char *short_options = "H:p:nNf:m:b:i:d:q:x:SAEFPURt:Gl:hv46X:ZuL"; static const struct option long_options[] = { -- cgit v1.2.3-54-g00ecf