]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: move random_port() to dns
authorBaruch Siach <baruch@tkos.co.il>
Wed, 20 May 2020 10:31:41 +0000 (13:31 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 12 Jun 2020 17:17:23 +0000 (13:17 -0400)
commitf1d925d9c39628d346b3809408695cd5c8b8faa2
tree48fcd8954ca5d99a1b0e834d24031fbc353bf762
parent0813921042c363a9c591454144226e67ed21a223
net: move random_port() to dns

The random_port() routine is not used anywhere else. Make it local to
dns.c to reduce code clutter, and shrink generated code a little.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
include/net.h
net/dns.c
net/net.c