From: Masahiro Yamada Date: Fri, 18 Apr 2014 10:09:47 +0000 (+0900) Subject: rand: do not surround function declarations by #ifdef X-Git-Tag: v2014.07-rc2~47 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c85bb5a01a5a87c4937665816b17e281f9552413;p=u-boot rand: do not surround function declarations by #ifdef Signed-off-by: Masahiro Yamada --- diff --git a/include/common.h b/include/common.h index 5fb0bb2d3d..2adf5f90b8 100644 --- a/include/common.h +++ b/include/common.h @@ -820,12 +820,10 @@ char * strmhz(char *buf, unsigned long hz); #include /* 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 */