X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=net%2Fping.h;h=b672b9573934b3ba4c5d86b0ff4de28d636b5f4b;hb=d89ff2df33991b971b1388bc623d616e12b5e5fb;hp=0a2d7d179763018bb72f595a5e218d1e71cdbe0a;hpb=594c26f8a7dbb83243a5168378a2164fa08d6dd8;p=people%2Fms%2Fu-boot.git diff --git a/net/ping.h b/net/ping.h index 0a2d7d1797..b672b95739 100644 --- a/net/ping.h +++ b/net/ping.h @@ -6,10 +6,9 @@ * Copyright 2000 Roland Borde * Copyright 2000 Paolo Scaffardi * Copyright 2000-2002 Wolfgang Denk, wd@denx.de + * SPDX-License-Identifier: GPL-2.0 */ -#if defined(CONFIG_CMD_PING) - #ifndef __PING_H__ #define __PING_H__ @@ -28,7 +27,6 @@ void ping_start(void); * @param ip IP header in the same packet * @param len Packet length */ -void ping_receive(Ethernet_t *et, struct ip_udp_hdr *ip, int len); +void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); #endif /* __PING_H__ */ -#endif