From 200819267fd20424150fce79c5e579945f8f8f5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Mon, 28 Oct 2013 14:13:59 +0200 Subject: fix various #include issues and remove unused functions to compile against musl, and remove some gcc 4.8.x warnings. --- src/icmp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/icmp.h') diff --git a/src/icmp.h b/src/icmp.h index 0fc94e1..7e177e0 100644 --- a/src/icmp.h +++ b/src/icmp.h @@ -13,7 +13,7 @@ int icmp_send_frag_needed(int fd, struct sockaddr *to, int tolen, struct iphdr *iph, int newmtu); int icmp_send_ping(int fd, struct sockaddr *to, int tolen, int seq, int total_size); -int icmp_read_reply(int fd, struct sockaddr *from, int fromlen, +int icmp_read_reply(int fd, struct sockaddr *from, socklen_t fromlen, __u8 *buf, int buflen); int icmp_open(float timeout); void icmp_close(int fd); -- cgit v1.2.3