summaryrefslogtreecommitdiff
path: root/include/common.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-18 19:09:47 +0900
committerTom Rini <trini@ti.com>2014-05-12 15:19:46 -0400
commitc85bb5a01a5a87c4937665816b17e281f9552413 (patch)
tree4aa9e9e172f544f797be942ed3f86e207e37c349 /include/common.h
parent1d64377177d802436329d54b69183a9ca0d33247 (diff)
downloadu-boot-c85bb5a01a5a87c4937665816b17e281f9552413.tar.gz
u-boot-c85bb5a01a5a87c4937665816b17e281f9552413.tar.bz2
u-boot-c85bb5a01a5a87c4937665816b17e281f9552413.zip
rand: do not surround function declarations by #ifdef
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h2
1 files changed, 0 insertions, 2 deletions
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 <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 */