mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
convert print_IPaddr() to %pI4
Now that our printf functions support the %pI4 modifier like the kernel, let's drop the inflexible print_IPaddr() function and covert over to the %pI4 modifier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
This commit is contained in:
parent
6c6166f529
commit
b6446b6775
6 changed files with 33 additions and 69 deletions
|
@ -408,9 +408,6 @@ extern int NetSendUDPPacket(uchar *ether, IPaddr_t dest, int dport, int sport, i
|
|||
/* Processes a received packet */
|
||||
extern void NetReceive(volatile uchar *, int);
|
||||
|
||||
/* Print an IP address on the console */
|
||||
extern void print_IPaddr (IPaddr_t);
|
||||
|
||||
/*
|
||||
* The following functions are a bit ugly, but necessary to deal with
|
||||
* alignment restrictions on ARM.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue