[U-Boot] [PATCH v3 08/21] net: cosmetic: Un-typedef IP_t
Anatolij Gustschin
agust at denx.de
Thu May 24 00:36:16 CEST 2012
Hi Joe,
On Wed, 23 May 2012 12:58:04 -0500
Joe Hershberger <joe.hershberger at ni.com> wrote:
...
> --- a/net/rarp.c
> +++ b/net/rarp.c
> @@ -41,7 +41,7 @@ int RarpTry;
> /*
> * Handle a RARP received packet.
> */
> -void rarp_receive(IP_t *ip, unsigned len)
> +void rarp_receive(struct ip_upd_hdr *ip, unsigned len)
Typo, s/ip_upd_hdr/ip_udp_hdr/
...
> --- a/net/rarp.h
> +++ b/net/rarp.h
> @@ -36,7 +36,7 @@
> extern int RarpTry;
>
> /* Process the receipt of a RARP packet */
> -extern void rarp_receive(IP_t *ip, unsigned len);
> +extern void rarp_receive(struct ip_upd_hdr *ip, unsigned len);
Typo, s/ip_upd_hdr/ip_udp_hdr/
It breaks compiling with CONFIG_CMD_RARP defined.
Thanks,
Anatolij
More information about the U-Boot
mailing list