summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2008-04-08 23:38:15 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2008-04-08 23:38:15 +0000
commitc5a78ac56ad9078fe70c2753c46ca4d500840ee8 (patch)
treece2b8699dcd7f891a99a08022d03bee9af861f41
parentea72559d5d750b46c20ce2044f34efddc7d89032 (diff)
downloadcoreboot-c5a78ac56ad9078fe70c2753c46ca4d500840ee8.tar.xz
Add missing prototypes for libc/rand.c functions (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3225 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--payloads/libpayload/include/libpayload.h5
1 files changed, 5 insertions, 0 deletions
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