X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fping.h;h=8c71be4fdf069a43be5058baaadd1aa20b8b062c;hb=9fd383724cf4;hp=0a2d7d179763018bb72f595a5e218d1e71cdbe0a;hpb=594c26f8a7dbb83243a5168378a2164fa08d6dd8;p=u-boot diff --git a/net/ping.h b/net/ping.h index 0a2d7d1797..8c71be4fdf 100644 --- a/net/ping.h +++ b/net/ping.h @@ -8,8 +8,6 @@ * Copyright 2000-2002 Wolfgang Denk, wd@denx.de */ -#if defined(CONFIG_CMD_PING) - #ifndef __PING_H__ #define __PING_H__ @@ -28,7 +26,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