]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: add random_port() prototype
authorMike Frysinger <vapier@gentoo.org>
Wed, 2 Sep 2009 08:18:55 +0000 (04:18 -0400)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 5 Oct 2009 05:25:20 +0000 (22:25 -0700)
commit91b469c95faf92435e3d5d78292ba78075a3c5ca
tree10275a6a2da523d6b244ea269b30952a3c3cb3f4
parent311c19ccb5783a1de71fd5042eeadfbe9688f597
net: add random_port() prototype

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 <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
include/net.h