aboutsummaryrefslogtreecommitdiffstats
path: root/src/icmp.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-10-28 14:13:59 +0200
committerTimo Teräs <timo.teras@iki.fi>2013-10-28 14:13:59 +0200
commit200819267fd20424150fce79c5e579945f8f8f5d (patch)
tree1da777ffe9f49047679e424128f201389d880d10 /src/icmp.h
parent32a132acd697590df99b57505dbcd7437780a96e (diff)
downloadpingu-master.tar.bz2
pingu-master.tar.xz
fix various #include issues and remove unused functionsHEADmaster
to compile against musl, and remove some gcc 4.8.x warnings.
Diffstat (limited to 'src/icmp.h')
-rw-r--r--src/icmp.h2
1 files changed, 1 insertions, 1 deletions
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);