From 840ef4d43b69a687660b3722b9c4a8a44a2912f8 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:13 -0700 Subject: 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 Reviewed-by: Tom Rini --- include/common.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/common.h') 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 -/* 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) */ -- cgit v1.2.3