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/common.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/common.h')
-rw-r--r-- | include/common.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h index 52bcc2e591e..b09c7aeddd4 100644 --- a/include/common.h +++ b/include/common.h @@ -325,12 +325,6 @@ char * strmhz(char *buf, unsigned long hz); /* lib/crc32.c */ #include <u-boot/crc.h> -/* lib/rand.c */ -#define RAND_MAX -1U -void srand(unsigned int seed); -unsigned int rand(void); -unsigned int rand_r(unsigned int *seedp); - /* * STDIO based functions (can always be used) */ |