X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=net%2Fping.h;h=8c71be4fdf069a43be5058baaadd1aa20b8b062c;hb=9fd383724cf4;hp=246d3aa1051b52dba6ffc88677ffbfc83760b05d;hpb=a36b12f95a29647a06b5459198684fc142482020;p=u-boot diff --git a/net/ping.h b/net/ping.h index 246d3aa105..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, IP_t *ip, int len); +void ping_receive(struct ethernet_hdr *et, struct ip_udp_hdr *ip, int len); #endif /* __PING_H__ */ -#endif