aboutsummaryrefslogtreecommitdiff
path: root/slirp/ip_icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'slirp/ip_icmp.c')
-rw-r--r--slirp/ip_icmp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/slirp/ip_icmp.c b/slirp/ip_icmp.c
index 4b27facf18..61dcaf821b 100644
--- a/slirp/ip_icmp.c
+++ b/slirp/ip_icmp.c
@@ -68,9 +68,7 @@ static const int icmp_flush[19] = {
* Process a received ICMP message.
*/
void
-icmp_input(m, hlen)
- struct mbuf *m;
- int hlen;
+icmp_input(struct mbuf *m, int hlen)
{
register struct icmp *icp;
register struct ip *ip=mtod(m, struct ip *);
@@ -319,8 +317,7 @@ end_error:
* Reflect the ip packet back to the source
*/
void
-icmp_reflect(m)
- struct mbuf *m;
+icmp_reflect(struct mbuf *m)
{
register struct ip *ip = mtod(m, struct ip *);
int hlen = ip->ip_hl << 2;