summaryrefslogtreecommitdiff
path: root/include/net.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 22:57:13 +0300
committerTom Rini <trini@konsulko.com>2019-12-03 02:23:07 +0300
commit840ef4d43b69a687660b3722b9c4a8a44a2912f8 (patch)
tree6d54af8d723554926ce4a8724588872bdc5e03aa /include/net.h
parentc076e5c9b35fc20cdea076e8eae71126e7cadd4f (diff)
downloadu-boot-840ef4d43b69a687660b3722b9c4a8a44a2912f8.tar.xz
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 'include/net.h')
-rw-r--r--include/net.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 75a16e4c8f..d8d187d8af 100644
--- a/include/net.h
+++ b/include/net.h
@@ -16,6 +16,7 @@
#include <asm/byteorder.h> /* for nton* / ntoh* stuff */
#include <env.h>
#include <linux/if_ether.h>
+#include <rand.h>
#define DEBUG_LL_STATE 0 /* Link local state machine changes */
#define DEBUG_DEV_PKT 0 /* Packets or info directed to the device */