aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorSimon Glass2019-11-14 12:57:13 -0700
committerTom Rini2019-12-02 18:23:07 -0500
commit840ef4d43b69a687660b3722b9c4a8a44a2912f8 (patch)
tree6d54af8d723554926ce4a8724588872bdc5e03aa /net
parentc076e5c9b35fc20cdea076e8eae71126e7cadd4f (diff)
common: Move random-number functions into their own header
Create a new rand.h header file and move functions into it, to reduce the size of common.h Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'net')
-rw-r--r--net/link_local.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/link_local.c b/net/link_local.c
index dd9fcad0874..1986b9b9d3b 100644
--- a/net/link_local.c
+++ b/net/link_local.c
@@ -14,6 +14,7 @@
#include <common.h>
#include <env.h>
#include <net.h>
+#include <rand.h>
#include "arp.h"
#include "net_rand.h"