From c5a78ac56ad9078fe70c2753c46ca4d500840ee8 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Tue, 8 Apr 2008 23:38:15 +0000 Subject: [PATCH] Add missing prototypes for libc/rand.c functions (trivial). Signed-off-by: Uwe Hermann Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3225 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- payloads/libpayload/include/libpayload.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 388785dba1..10e5e8529c 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -132,6 +132,11 @@ int vsprintf(char *str, const char *fmt, va_list ap); int printf(const char *fmt, ...); int vprintf(const char *fmt, va_list ap); +/* libc/rand.c */ +int rand_r(unsigned int *seed); +int rand(void); +void srand(unsigned int seed); + /* libc/sha1.c */ #define SHA1_BLOCK_LENGTH 64 #define SHA1_DIGEST_LENGTH 20