Re: [U-Boot] [PATCH] net: add random_port() prototype

2009-09-10 Thread Ben Warren
Mike Frysinger wrote: The random_port() is meant to be used by other net code, but without a prototype, we get fun warnings like: dns.c: In function 'DnsSend': dns.c:89: warning: implicit declaration of function 'random_port' Signed-off-by: Mike Frysinger vap...@gentoo.org ---

[U-Boot] [PATCH] net: add random_port() prototype

2009-09-02 Thread Mike Frysinger
The random_port() is meant to be used by other net code, but without a prototype, we get fun warnings like: dns.c: In function 'DnsSend': dns.c:89: warning: implicit declaration of function 'random_port' Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/net.h |3 +++ 1 files