mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
rand: do not surround function declarations by #ifdef
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
parent
1d64377177
commit
c85bb5a01a
1 changed files with 0 additions and 2 deletions
|
@ -820,12 +820,10 @@ char * strmhz(char *buf, unsigned long hz);
|
|||
#include <u-boot/crc.h>
|
||||
|
||||
/* lib/rand.c */
|
||||
#if defined(CONFIG_LIB_RAND) || defined(CONFIG_LIB_HW_RAND)
|
||||
#define RAND_MAX -1U
|
||||
void srand(unsigned int seed);
|
||||
unsigned int rand(void);
|
||||
unsigned int rand_r(unsigned int *seedp);
|
||||
#endif
|
||||
|
||||
/* common/console.c */
|
||||
int console_init_f(void); /* Before relocation; uses the serial stuff */
|
||||
|
|
Loading…
Add table
Reference in a new issue