提交 c85bb5a0 编写于 作者: M Masahiro Yamada 提交者: Tom Rini

rand: do not surround function declarations by #ifdef

Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com>
上级 1d643771
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册