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 /lib | |
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 'lib')
-rw-r--r-- | lib/rand.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rand.c b/lib/rand.c index af4cf3a0e8..d256baf5ce 100644 --- a/lib/rand.c +++ b/lib/rand.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <rand.h> static unsigned int y = 1U; |