]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/ping.h
JFFS2: Speed up and fix comparison functions
[karo-tx-uboot.git] / net / ping.h
index 0a2d7d179763018bb72f595a5e218d1e71cdbe0a..b672b9573934b3ba4c5d86b0ff4de28d636b5f4b 100644 (file)
@@ -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