diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:13 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:07 -0500 |
commit | 840ef4d43b69a687660b3722b9c4a8a44a2912f8 (patch) | |
tree | 6d54af8d723554926ce4a8724588872bdc5e03aa /include/net.h | |
parent | c076e5c9b35fc20cdea076e8eae71126e7cadd4f (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 'include/net.h')
-rw-r--r-- | include/net.h | 1 |
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 */ |