From 9523e3b7905a3c20214b8af4bacd50abe178eded Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Tue, 8 Nov 2022 14:38:41 +0100 Subject: arch/x86: Use 'enum cb_err' Change-Id: I38e4b8c6adfaaa45377b2fbe0644285d21841cd1 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/68369 Tested-by: build bot (Jenkins) Reviewed-by: Martin L Roth Reviewed-by: Felix Singer --- src/include/random.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/random.h') diff --git a/src/include/random.h b/src/include/random.h index 589254e89f..5be918fa77 100644 --- a/src/include/random.h +++ b/src/include/random.h @@ -2,13 +2,13 @@ #ifndef _RANDOM_H_ #define _RANDOM_H_ -#include +#include /* * Generates a 32/64 bit random number respectively. * return 0 on success and -1 on error. */ -int get_random_number_32(uint32_t *rand); -int get_random_number_64(uint64_t *rand); +enum cb_err get_random_number_32(uint32_t *rand); +enum cb_err get_random_number_64(uint64_t *rand); #endif /* _RANDOM_H_ */ -- cgit v1.2.3